fix printf warning
[oweals/busybox.git] / include / usage.h
index fd0f681663baf899e8ae345971dcccdc3854d5ad..128aee2f527e56e08b21cc571817be179e5f4a73 100644 (file)
        "\n" \
        "\t-a\tSame as -dpR\n" \
        "\t-d,-P\tPreserves links\n" \
+       "\t-H,-L\tDereference all symlinks (implied by default)\n" \
        "\t-p\tPreserves file attributes if possible\n" \
        "\t-f\tforce (implied; ignored) - always set\n" \
        "\t-i\tinteractive, prompt before overwrite\n" \
        "\t-e\tinterpret backslash-escaped characters (i.e., \\t=tab)\n" \
        "\t-E\tdisable interpretation of backslash-escaped characters")
 #define echo_example_usage \
-       "$ echo "Erik is cool"\n" \
+       "$ echo \"Erik is cool\"\n" \
        "Erik is cool\n" \
-       USAGE_FANCY_ECHO("$  echo -e "Erik\\nis\\ncool"\n" \
+       USAGE_FANCY_ECHO("$  echo -e \"Erik\\nis\\ncool\"\n" \
        "Erik\n" \
        "is\n" \
        "cool\n" \
-       "$ echo "Erik\\nis\\ncool"\n" \
+       "$ echo \"Erik\\nis\\ncool\"\n" \
        "Erik\\nis\\ncool\n")
 
 #define env_trivial_usage \
        "\\( and \\) or null; if \\( and \\) are not used, they return the number \n" \
        "of characters matched or 0."
 
+#define fakeidentd_trivial_usage \
+       "[-b ip] [STRING]"
+#define fakeidentd_full_usage \
+       "Returns a set string to auth requests\n\n"\
+       "\t-b\tBind to ip address\n"\
+       "\tSTRING\tThe ident answer string (default is nobody)"
+
 #define false_trivial_usage \
        ""
 #define false_full_usage \
         "$ cat getopt.test\n" \
         "#!/bin/sh\n" \
         "GETOPT=`getopt -o ab:c:: --long a-long,b-long:,c-long:: \\\n" \
-        "       -n 'example.busybox' -- "$@"`\n" \
+        "       -n 'example.busybox' -- \"$@\"`\n" \
         "if [ $? != 0 ] ; then  exit 1 ; fi\n" \
         "eval set -- "$GETOPT"\n" \
         "while true ; do\n" \
        "Formats and prints ARGUMENT(s) according to FORMAT,\n" \
        "Where FORMAT controls the output exactly as in C printf."
 #define printf_example_usage \
-       "$ printf "Val=%d\\n" 5\n" \
+       "$ printf \"Val=%d\\n\" 5\n" \
        "Val=5\n"
 
 #ifdef CONFIG_SELINUX