1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
|
diff -ur web/ftpcopy-0.6.7.orig/src/ftpls.c web/ftpcopy-0.6.7/src/ftpls.c
--- web/ftpcopy-0.6.7.orig/src/ftpls.c 2004-07-27 11:36:00.000000000 +0000
+++ web/ftpcopy-0.6.7/src/ftpls.c 2012-03-14 13:23:36.000000000 +0000
@@ -403,13 +403,8 @@
{'l', "longest", uogo_flag,UOGO_NOARG, &sortmode, SM_LONG, "sort longest first.",
0,0},
{ 0, "", uogo_label,0, 0,0, "Output options:",0,0},
-{'h', "html", uogo_flag,UOGO_NOARG, &o_html, 1, "Create HTML index.",
- "The index will contain all files together with modification "
- "time and size.\n"
- "Note: The links in this index will contain username and password if you "
- "include them into an URL given to ftpls on the command line (either as "
- "argument or through the --urlprefix option). They will not be included "
- "otherwise, for security and privacy reasons.",0},
+{'h', "html", uogo_flag,UOGO_NOARG, &o_html, 1, "OBSOLETE: Create HTML index.",
+ "This option is no longer supported.",0},
{'m', "machine", uogo_flag,UOGO_NOARG, &o_machine, 1,
"Create machine parsable output.",0,0},
{'t', "title", uogo_string,0, &o_title,0,
@@ -533,6 +528,8 @@
optenv.program=flag_bailout_log_name;
uogetopt_parse (&optenv,&argc,argv);
+ if (o_html)
+ xbailout(2,0,"the --html option is no longer supported",0,0,0);
if (o_v4_only && o_v6_only)
xbailout(2,0,"the --v4 and --v6 options are mutally exclusive",0,0,0);
if (o_v4_only)
|