summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorKarel Zak2017-06-26 13:56:45 +0200
committerKarel Zak2017-06-26 13:56:45 +0200
commitd6ec64e824cac821fd21f457d9cf37fd663a045f (patch)
tree2184375c9b1cea82eac0ce54f33bf0b85ae68ead /include
parentMerge branch 'fix-exit-codes' of https://github.com/rudimeier/util-linux (diff)
parentDocs: move option naming to howto-contribute.txt (diff)
downloadkernel-qcow2-util-linux-d6ec64e824cac821fd21f457d9cf37fd663a045f.tar.gz
kernel-qcow2-util-linux-d6ec64e824cac821fd21f457d9cf37fd663a045f.tar.xz
kernel-qcow2-util-linux-d6ec64e824cac821fd21f457d9cf37fd663a045f.zip
Merge branch '170622' of github.com:jwpi/util-linux
* '170622' of github.com:jwpi/util-linux: Docs: move option naming to howto-contribute.txt Docs: update howto-usage-function.txt Docs: add a comment for constants to boilerplate.c include/c.h: add USAGE_COMMANDS and USAGE_COLUMNS
Diffstat (limited to 'include')
-rw-r--r--include/c.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/c.h b/include/c.h
index 8cf54cbe4..9c676ff04 100644
--- a/include/c.h
+++ b/include/c.h
@@ -307,11 +307,13 @@ static inline int xusleep(useconds_t usec)
/*
* Constant strings for usage() functions. For more info see
- * Documentation/howto-usage-function.txt and disk-utils/delpart.c
+ * Documentation/{howto-usage-function.txt,boilerplate.c}
*/
#define USAGE_HEADER _("\nUsage:\n")
#define USAGE_OPTIONS _("\nOptions:\n")
#define USAGE_FUNCTIONS _("\nFunctions:\n")
+#define USAGE_COMMANDS _("\nCommands:\n")
+#define USAGE_COLUMNS _("\nAvailable columns:\n")
#define USAGE_SEPARATOR "\n"
#define USAGE_HELP _(" -h, --help display help information and exit\n")
#define USAGE_VERSION _(" -V, --version display version information and exit\n")