diff options
Diffstat (limited to 'xdelta3/xdelta3-main.h')
-rwxr-xr-x | xdelta3/xdelta3-main.h | 47 |
1 files changed, 27 insertions, 20 deletions
diff --git a/xdelta3/xdelta3-main.h b/xdelta3/xdelta3-main.h index e27aa45..6261156 100755 --- a/xdelta3/xdelta3-main.h +++ b/xdelta3/xdelta3-main.h | |||
@@ -2883,10 +2883,10 @@ main_help (void) | |||
2883 | /* TODO: update www/xdelta3-cmdline.html */ | 2883 | /* TODO: update www/xdelta3-cmdline.html */ |
2884 | main_version (); | 2884 | main_version (); |
2885 | P(RINT "usage: xdelta3 [command/options] [input [output]]\n"); | 2885 | P(RINT "usage: xdelta3 [command/options] [input [output]]\n"); |
2886 | P(RINT "commands are:\n"); | 2886 | P(RINT "special command names:\n"); |
2887 | P(RINT " config prints xdelta3 configuration\n"); | 2887 | P(RINT " config prints xdelta3 configuration\n"); |
2888 | P(RINT " decode decodes the input\n"); | 2888 | P(RINT " decode decompress the input\n"); |
2889 | P(RINT " encode encodes the input%s\n", XD3_ENCODER ? "" : " [Not compiled]"); | 2889 | P(RINT " encode compress the input%s\n", XD3_ENCODER ? "" : " [Not compiled]"); |
2890 | #if REGRESSION_TEST | 2890 | #if REGRESSION_TEST |
2891 | P(RINT " test run the builtin tests\n"); | 2891 | P(RINT " test run the builtin tests\n"); |
2892 | #endif | 2892 | #endif |
@@ -2896,30 +2896,37 @@ main_help (void) | |||
2896 | P(RINT " printhdr print information about the first window\n"); | 2896 | P(RINT " printhdr print information about the first window\n"); |
2897 | P(RINT " printhdrs print information about all windows\n"); | 2897 | P(RINT " printhdrs print information about all windows\n"); |
2898 | #endif | 2898 | #endif |
2899 | P(RINT "options are:\n"); | 2899 | P(RINT "standard options:\n"); |
2900 | P(RINT " -0 .. -9 compression level\n"); | 2900 | P(RINT " -0 .. -9 compression level\n"); |
2901 | P(RINT " -A [apphead] disable/provide application header\n"); | 2901 | P(RINT " -c use stdout\n"); |
2902 | P(RINT " -B blksize source file block size\n"); | 2902 | P(RINT " -d decompress\n"); |
2903 | P(RINT " -C soft config (see xdelta3-cfgs.h)\n"); | 2903 | P(RINT " -e compress%s\n", XD3_ENCODER ? "" : " [Not compiled]"); |
2904 | P(RINT " -c use stdout instead of default\n"); | ||
2905 | P(RINT " -D disable external decompression (encode/decode)\n"); | ||
2906 | P(RINT " -d same as decode command\n"); | ||
2907 | P(RINT " -e same as encode command\n"); | ||
2908 | P(RINT " -f force overwrite\n"); | 2904 | P(RINT " -f force overwrite\n"); |
2909 | P(RINT " -h show help\n"); | 2905 | P(RINT " -h show help\n"); |
2910 | P(RINT " -J disable output (check/compute only)\n"); | ||
2911 | P(RINT " -M memsize memory budget for hash tables\n"); | ||
2912 | P(RINT " -n disable checksum (encode/decode)\n"); | ||
2913 | P(RINT " -N disable small string-matching compression\n"); | ||
2914 | P(RINT " -P repeat count (for profiling)\n"); | ||
2915 | P(RINT " -q be quiet\n"); | 2906 | P(RINT " -q be quiet\n"); |
2916 | P(RINT " -R disable external recompression (decode)\n"); | ||
2917 | P(RINT " -S [djw|fgk] disable/enable secondary compression\n"); | ||
2918 | P(RINT " -s source source file to copy from (if any)\n"); | ||
2919 | P(RINT " -T use alternate code table\n"); | ||
2920 | P(RINT " -v be verbose (max 2)\n"); | 2907 | P(RINT " -v be verbose (max 2)\n"); |
2921 | P(RINT " -V show version\n"); | 2908 | P(RINT " -V show version\n"); |
2909 | |||
2910 | P(RINT "memory options:\n"); | ||
2911 | P(RINT " -B blksize source file block size\n"); | ||
2912 | P(RINT " -M memsize memory budget for hash tables\n"); | ||
2922 | P(RINT " -W winsize input window buffer size\n"); | 2913 | P(RINT " -W winsize input window buffer size\n"); |
2923 | 2914 | ||
2915 | P(RINT "compression options:\n"); | ||
2916 | P(RINT " -s source source file to copy from (if any)\n"); | ||
2917 | P(RINT " -S [djw|fgk] enable/disable secondary compression\n"); | ||
2918 | P(RINT " -N disable small string-matching compression\n"); | ||
2919 | P(RINT " -D disable external decompression (encode/decode)\n"); | ||
2920 | P(RINT " -R disable external recompression (decode)\n"); | ||
2921 | |||
2922 | #if XD3_DEBUG > 0 | ||
2923 | P(RINT "developer options:\n"); | ||
2924 | P(RINT " -A [apphead] disable/provide application header\n"); | ||
2925 | P(RINT " -C soft config (see xdelta3-cfgs.h)\n"); | ||
2926 | P(RINT " -J disable output (check/compute only)\n"); | ||
2927 | P(RINT " -P repeat count (for profiling)\n"); | ||
2928 | P(RINT " -T use alternate code table\n"); | ||
2929 | P(RINT " -n disable checksum (encode/decode)\n"); | ||
2930 | #endif | ||
2924 | return EXIT_FAILURE; | 2931 | return EXIT_FAILURE; |
2925 | } | 2932 | } |