summaryrefslogtreecommitdiffabout
path: root/src/cmdline.opt
Unidiff
Diffstat (limited to 'src/cmdline.opt') (more/less context) (ignore whitespace changes)
-rw-r--r--src/cmdline.opt10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/cmdline.opt b/src/cmdline.opt
index 82e0e95..1f8d56d 100644
--- a/src/cmdline.opt
+++ b/src/cmdline.opt
@@ -208,16 +208,6 @@ END
208OPTIONS_END 208OPTIONS_END
209 209
210void 210void
211set_program_name(const char *arg)
212{
213 program_name = strrchr(arg, '/');
214 if (!program_name)
215 program_name = arg;
216 else
217 program_name++;
218}
219
220void
221parse_options(int argc, char *argv[], int *index) 211parse_options(int argc, char *argv[], int *index)
222{ 212{
223 GETOPT(argc, argv, *index, exit(EX_USAGE)) 213 GETOPT(argc, argv, *index, exit(EX_USAGE))

Return to:

Send suggestions and report system problems to the System administrator.