Re: [chrony-users] [patch] adds tab-completion to chronyc |
[ Thread Index |
Date Index
| More chrony.tuxfamily.org/chrony-users Archives
]
On Wed, Dec 07, 2016 at 03:33:37PM -0600, Lonnie Abelbeck wrote:
> Hi Miroslav,
>
> Attached is a patch I created (against chrony 2.4.1) to add tab-completion to chronyc. A relatively simple addition.
>
> Also here: https://sourceforge.net/p/astlinux/code/8023/tree//branches/1.0/package/chrony/chrony-0100-chronyc-tab-completion.patch
>
> Works quite well in my testing, using either libedit 20160903-3.1 or readline 7.0 . All cross-compiled from source.
Thanks, Lonnie. This is useful. Would it be possible to parse the list
of commands from the usage text instead of maintaining a separate
list? The chronyc support in bash-completition works like that.
However, there are some recommendations for submitting patches. They
should go to the chrony-dev list and they should be git patches
against HEAD. I'd at least need an email address to which I can set
the author field in git.
--
Miroslav Lichvar
--
To unsubscribe email chrony-users-request@xxxxxxxxxxxxxxxxxxxx
with "unsubscribe" in the subject.
For help email chrony-users-request@xxxxxxxxxxxxxxxxxxxx
with "help" in the subject.
Trouble? Email listmaster@xxxxxxxxxxxxxxxxxxxx.