summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xxdelta3/www/xdelta3-cmdline.html36
-rwxr-xr-xxdelta3/xdelta3-main.h47
2 files changed, 43 insertions, 40 deletions
diff --git a/xdelta3/www/xdelta3-cmdline.html b/xdelta3/www/xdelta3-cmdline.html
index 19f59ae..e5203a4 100755
--- a/xdelta3/www/xdelta3-cmdline.html
+++ b/xdelta3/www/xdelta3-cmdline.html
@@ -127,39 +127,35 @@ VCDIFF addr section length: 3
127 127
128<pre> 128<pre>
129usage: xdelta3 [command/options] [input [output]] 129usage: xdelta3 [command/options] [input [output]]
130commands are: 130special command names:
131 config prints xdelta3 configuration 131 config prints xdelta3 configuration
132 decode decodes the input 132 decode decompress the input
133 encode encodes the input 133 encode compress the input
134 test run the builtin tests 134 test run the builtin tests
135special commands for VCDIFF inputs: 135special commands for VCDIFF inputs:
136 printdelta print information about the entire delta 136 printdelta print information about the entire delta
137 printhdr print information about the first window 137 printhdr print information about the first window
138 printhdrs print information about all windows 138 printhdrs print information about all windows
139options are: 139standard options:
140 -0 .. -9 compression level 140 -0 .. -9 compression level
141 -A [apphead] disable/provide application header 141 -c use stdout
142 -B blksize source file block size 142 -d decompress
143 -C soft config (see xdelta3-cfgs.h) 143 -e compress
144 -c use stdout instead of default
145 -D disable external decompression (encode/decode)
146 -d same as decode command
147 -e same as encode command
148 -f force overwrite 144 -f force overwrite
149 -h show help 145 -h show help
150 -J disable output (check/compute only)
151 -M memsize memory budget for hash tables
152 -n disable checksum (encode/decode)
153 -N disable small string-matching compression
154 -P repeat count (for profiling)
155 -q be quiet 146 -q be quiet
156 -R disable external recompression (decode)
157 -S [djw|fgk] disable/enable secondary compression
158 -s source source file to copy from (if any)
159 -T use alternate code table
160 -v be verbose (max 2) 147 -v be verbose (max 2)
161 -V show version 148 -V show version
149memory options:
150 -B blksize source file block size
151 -M memsize memory budget for hash tables
162 -W winsize input window buffer size 152 -W winsize input window buffer size
153compression options:
154 -s source source file to copy from (if any)
155 -S [djw|fgk] enable/disable secondary compression
156 -N disable small string-matching compression
157 -D disable external decompression (encode/decode)
158 -R disable external recompression (decode)
163</pre> 159</pre>
164<p> 160<p>
165 161
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}