aboutsummaryrefslogtreecommitdiffstats
path: root/include/c.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/c.h')
-rw-r--r--include/c.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/include/c.h b/include/c.h
index c4c73ce9df..f7cd08fd8b 100644
--- a/include/c.h
+++ b/include/c.h
@@ -516,8 +516,13 @@ static inline void __attribute__((__noreturn__)) ul_sig_err(int excode, const ch
#define USAGE_DEFAULT_COLUMNS _("\nDefault columns:\n")
#define USAGE_SEPARATOR "\n"
-#define USAGE_OPTSTR_HELP _("display this help")
-#define USAGE_OPTSTR_VERSION _("display version")
+#define USAGE_OPTSTR_LIST_COLUMNS _("list the available columns")
+#define USAGE_OPTSTR_HELP _("display this help")
+#define USAGE_OPTSTR_VERSION _("display version")
+
+#define USAGE_LIST_COLUMNS_OPTION(marg_dsc) \
+ "%-" #marg_dsc "s%s\n" \
+ , " -H, --list-columns", USAGE_OPTSTR_LIST_COLUMNS
#define USAGE_HELP_OPTIONS(marg_dsc) \
"%-" #marg_dsc "s%s\n" \