aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/generate_bash_completion.sh
Commit message (Collapse)AuthorAge
* generate_bash_completion.sh: add explict end-of-options for exprGravatar aehlig2017-07-19
| | | | | | | | | Some implementations of expr(1) get confused if the first argument is not an option argument but starts with a minus sign. To make this script more portable, add an explict '--' argument, signaling "end of options", which seems to be understood by most implementations. PiperOrigin-RevId: 162349479
* Make the bash completion generation easier to customize per product, take 2.Gravatar Julio Merino2017-02-02
| | | | | | | | | | | Refactor the code to generate the bash completions file by moving the logic to a separate script and keeping the genrule as a dumb invocation of this script. This allows us to more easily customize the rules for Blaze. -- PiperOrigin-RevId: 146362379 MOS_MIGRATED_REVID=146362379
* Rollback of commit 37debf0e532ccba7e9b6e2758b247659d28e905c.Gravatar Florian Weikert2017-02-02
| | | | | | -- PiperOrigin-RevId: 146347158 MOS_MIGRATED_REVID=146347158
* Make the bash completion generation easier to customize per product.Gravatar Julio Merino2017-02-02
Refactor the code to generate the bash completions file by moving the logic to a separate script and keeping the genrule as a dumb invocation of this script. This allows us to more easily customize the rules for Blaze. -- PiperOrigin-RevId: 146265210 MOS_MIGRATED_REVID=146265210