Commit Graph

28 Commits (master)

Author SHA1 Message Date
Ville Skyttä dbe732517e puppet: Recognize some short options 2014-06-02 12:40:26 +03:00
Ville Skyttä 00a80a2a83 puppet: Parse most subcommand options from "help subcommand" output 2014-06-02 12:35:14 +03:00
Ville Skyttä f94d1a6803 puppet: Exit early on -h|-V|--version in addition to --help 2014-06-02 12:15:23 +03:00
Mathieu Parent 0bbcc476b2 Puppet: describe: update options list, accordind to 'puppet help describe' 2014-06-02 11:40:32 +03:00
Mathieu Parent b46636ae16 Puppet: cert: update options list, accordind to 'puppet help cert' 2014-06-02 11:39:22 +03:00
Mathieu Parent 5a536aec4c Puppet: apply: update options list, accordind to 'puppet help apply' 2014-06-02 11:38:53 +03:00
Mathieu Parent af5ba56089 Puppet: agent: update options list, accordind to 'puppet help agent' 2014-06-02 11:25:39 +03:00
Mathieu Parent b56df708a1 Puppet: puppet parser support 2014-06-02 11:21:54 +03:00
Mathieu Parent 20e9befbff Puppet: puppet -* doesn't imply 'puppet apply' 2014-06-02 11:20:27 +03:00
Mathieu Parent ac98c31f30 Puppet: use puppet terminology
Usage: puppet <subcommand> [options] <action> [options]
2014-06-02 11:18:09 +03:00
Ville Skyttä 497c20902a Use == instead of =. 2013-04-08 23:04:11 +03:00
Ville Skyttä 6185297fc9 *: Line continuation, whitespace, and compgen -W ... -- "$cur" quoting cleanups. 2013-02-17 23:49:30 +02:00
Ville Skyttä a6ff57986f Trim trailing whitespace. 2012-07-22 19:35:03 +03:00
Ville Skyttä 3b8ef29ef3 Cleanups: Use [[ instead of [. 2011-11-09 23:28:11 +02:00
Ville Skyttä 0d10b94e7a Move Emacs indentation settings from every file to .dir-locals.el. 2011-11-01 22:14:45 +02:00
Ville Skyttä 20c05b43b6 Load completions in separate files dynamically, get rid of have(). 2011-10-12 00:19:50 +03:00
Ville Skyttä e3ca91b986 Use _init_completion() in completions/p*. 2011-04-20 23:13:29 +03:00
Ville Skyttä ee43b22f9b Use += to append to arrays and strings.
It's easier on the eye and faster than foo=( "${foo[@]}" ... ).
2011-04-06 20:39:21 +03:00
Ville Skyttä 9af6f3504e Abort completion file loading earlier if required commands are not available.
Cuts ~10% from bash completion load time on two different systems I
just tested.
2011-04-05 00:37:55 +03:00
Guillaume Rousse d21e05504a drop -o filenames, as suggested by Ville 2011-02-26 16:55:05 +01:00
Guillaume Rousse a29ed87cd5 use simple quotes for constant strings 2011-02-23 21:42:08 +01:00
Guillaume Rousse 8916625769 rename special and subspecial variables for consistency with other similar completions, and avoid leaking 2011-02-23 21:36:10 +01:00
Guillaume Rousse 93ade30ce6 use known hosts completion with --server option 2011-02-23 21:31:37 +01:00
Guillaume Rousse b7ef18dded no need to use a variable for a list used only once 2011-02-23 21:27:27 +01:00
Guillaume Rousse d9c605b020 indentation fixes 2011-02-23 21:24:53 +01:00
Guillaume Rousse 4946872a85 wrap long lines 2011-02-23 21:22:18 +01:00
Guillaume Rousse b0e7111397 use for subshell, instead of backquotes 2011-02-23 21:18:18 +01:00
Guillaume Rousse dac9622e90 add puppet completion 2011-02-23 21:14:35 +01:00