summaryrefslogtreecommitdiffstats
path: root/bash-completion/hwclock
Commit message (Collapse)AuthorAgeFilesLines
* bash-completion: catch up with option changesSami Kerola2018-10-041-1/+2
| | | | | | | Check what has changed in usage functions in between v2.32..a77bd80d5 and update bash-completion files accordingly. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* bash-completion: update uuidgen, wipefs, tunelp, setpriv, and hwclockSami Kerola2017-09-181-0/+1
| | | | | | | | | | | | | | | | | | | | | uuidgen: Add hash-based UUIDs to bash-completion. These were added in commit c6f1ec68a8b38863efff2a18e30b7272db4fb273. wipefs: Command started to use libsmartcols, and it got some new options. Commit d9921b2a128f17aa9a9a110444d5faa43e1b371c. rename: New option was added in commit fabb90676af89bcb5f429793746f141c0. tunelp: The --trust-irq was removed it being years broken. Commit d52eb4bd9062081c8420b22c029c694f29d036c7. setpriv: Add --ambient-caps option from commit 0c92194eeee9c1fd58580ef852. In same go fix 'bash set -u' issue, that is the same as mentioned commit abbcec4fc9c8d7fb835b4eafd1bc9d82acbf0056. hwclock: For some reason --get has always been missing from this file. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* bash-completion: update hwclockSami Kerola2017-04-181-2/+2
| | | | | | | | | | Add --udate-drift [1], remove --badyear [2], and use the same argument for --date as in manual page[3]. Commit [1]: f276d71a3ef6a65299deb5e14a188e0a786ecebd Commit [2]: f6374e1fb33d5ca726b72212b787e11fea78c0ca Commit [3]: cc5ec6936ea3c218b3e8c46880659db5ee01329f Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* hwclock: remove --compare optionSami Kerola2017-02-051-1/+0Star
| | | | | | | | | | | Compare functionality was printing nonsense values. There is no knowledge of anyone using this broken functionality. Instead of deprecating the code for months, and removing it after few release, it is removed immediately. Needless to say this is unusual removal. Reference: http://marc.info/?l=util-linux-ng&m=148396210506652&w=2 Signed-off-by: Karel Zak <kzak@redhat.com> Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* bash-completion: use '\n' as IFS when ask for filenamesKarel Zak2013-09-301-0/+1
| | | | | | | | | | | | The bash completion for more(1) treats the space-separated pieces of filenames as different files. $ touch foo\ bar $ more foo<TAB> bar foo Reported-by: Ángel González <ingenit@zoho.com> Signed-off-by: Karel Zak <kzak@redhat.com>
* bash-completion: Don't offer short options where corresponding long one exists.Ville Skyttä2013-04-081-23/+23
| | | | | | | | | Users who know the short options can just hit the short option instead of tab, and it's not likely that it would be helpful to present a list of single character options to users who don't know them, doing so just unnecessarily trashes the list of suggestions. Signed-off-by: Ville Skyttä <ville.skytta@iki.fi>
* bash-completion: Don't offer any more completions after help or version.Ville Skyttä2013-04-081-0/+3
| | | | Signed-off-by: Ville Skyttä <ville.skytta@iki.fi>
* bash-completion: rename shell-completion -> bash-completionKarel Zak2013-04-051-0/+53
Signed-off-by: Karel Zak <kzak@redhat.com>