commit | b6c2a0d45d4165dfd326bd7a28e66d9cedb8ae84 | [log] [tgz] |
---|---|---|
author | Junio C Hamano <gitster@pobox.com> | Sun Mar 23 16:04:36 2014 -0700 |
committer | Junio C Hamano <gitster@pobox.com> | Mon Mar 24 10:43:35 2014 -0700 |
tree | 9459835f28a86ebc75b876473885e377a286a448 | |
parent | ec160ae12b0ae938ed5076b9f604e88976fc429c [diff] |
parse-options: make sure argh string does not have SP or _ We encourage to spell an argument hint that consists of multiple words as a single-token separated with dashes. In order to help catching violations added by new callers of parse-options, make sure argh does not contain SP or _ when the code validates the option definitions. Signed-off-by: Junio C Hamano <gitster@pobox.com>