]> git.draconx.ca Git - dxcommon.git/blobdiff - src/help-std.str
help_print_optstring: New table-based implementation.
[dxcommon.git] / src / help-std.str
diff --git a/src/help-std.str b/src/help-std.str
new file mode 100644 (file)
index 0000000..09717df
--- /dev/null
@@ -0,0 +1,13 @@
+# Strings for options listing (normal variant)
+#
+# For the convenience of downstream users, (to the detriment of this project's
+# maintenance), manually process this file with gen-strtab.awk as needed and
+# incorporate the output directly into help.c
+
+@macro
+&fmt_short_optional_arg  \  -%c, --%s[=%s]
+&fmt_long_optional_arg   \  --%s[=%s]
+&fmt_short_mandatory_arg \  -%c, --%s=%s
+&fmt_long_mandatory_arg  \  --%s=%s
+&fmt_short_without_arg   \  -%c, --%s
+&fmt_long_without_arg    \  --%s