summaryrefslogtreecommitdiff
path: root/parse-options.h
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2018-12-06 15:42:06 (GMT)
committerJunio C Hamano <gitster@pobox.com>2018-12-09 03:37:32 (GMT)
commitec36c42a6301eca8a1a038001435bc8a7940e886 (patch)
treea7f58daf2eaa79e64fea2426160c5799187b4c89 /parse-options.h
parent965798d1f2992a4bdadb81eba195a7d465b6454a (diff)
downloadgit-ec36c42a6301eca8a1a038001435bc8a7940e886.zip
git-ec36c42a6301eca8a1a038001435bc8a7940e886.tar.gz
git-ec36c42a6301eca8a1a038001435bc8a7940e886.tar.bz2
Indent code with TABs
We indent with TABs and sometimes for fine alignment, TABs followed by spaces, but never all spaces (unless the indentation is less than 8 columns). Indenting with spaces slips through in some places. Fix them. Imported code and compat/ are left alone on purpose. The former should remain as close as upstream as possible. The latter pretty much has separate maintainers, it's up to them to decide. Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'parse-options.h')
-rw-r--r--parse-options.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/parse-options.h b/parse-options.h
index 6c4fe20..bd88f64 100644
--- a/parse-options.h
+++ b/parse-options.h
@@ -175,11 +175,11 @@ struct option {
* Returns the number of arguments left in argv[].
*/
extern int parse_options(int argc, const char **argv, const char *prefix,
- const struct option *options,
- const char * const usagestr[], int flags);
+ const struct option *options,
+ const char * const usagestr[], int flags);
extern NORETURN void usage_with_options(const char * const *usagestr,
- const struct option *options);
+ const struct option *options);
extern NORETURN void usage_msg_opt(const char *msg,
const char * const *usagestr,