aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/widget-rmdir.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/widget-rmdir.c')
-rw-r--r--src/widget-rmdir.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/widget-rmdir.c b/src/widget-rmdir.c
index 6018eee..962e16b 100644
--- a/src/widget-rmdir.c
+++ b/src/widget-rmdir.c
@@ -93,6 +93,7 @@ int scu_widget_rmdir(scu_config * cnf)
93 }; 93 };
94 94
95 assert(cnf != NULL); 95 assert(cnf != NULL);
96 cnf->short_opt = short_opt;
96 97
97 while((c = getopt_long(cnf->argc, cnf->argv, short_opt, long_opt, &opt_index)) != -1) 98 while((c = getopt_long(cnf->argc, cnf->argv, short_opt, long_opt, &opt_index)) != -1)
98 { 99 {
@@ -192,7 +193,7 @@ void scu_widget_rmdir_usage(scu_config * cnf)
192{ 193{
193 scu_usage_summary(cnf, " [OPTIONS] file");; 194 scu_usage_summary(cnf, " [OPTIONS] file");;
194 printf("\n"); 195 printf("\n");
195 scu_usage_options(); 196 scu_usage_options(cnf);
196 printf(" -i prompt for confirmation\n"); 197 printf(" -i prompt for confirmation\n");
197 printf(" -f, --force ignore nonexistent files\n"); 198 printf(" -f, --force ignore nonexistent files\n");
198 printf("\n"); 199 printf("\n");