changeset 21:932d22ff55b5

prefix may have no argument
author Simon Horman <horms@verge.net.au>
date Thu, 16 May 2002 17:53:45 +0900
parents bf731fa9c758
children 7e1318da6d12
files pbs/Makefile.in pbs/pbs_option.c
diffstat 2 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/pbs/Makefile.in	Thu May 16 17:41:20 2002 +0900
+++ b/pbs/Makefile.in	Thu May 16 17:53:45 2002 +0900
@@ -1,4 +1,4 @@
-# Makefile.in generated automatically by automake 1.4-p4 from Makefile.am
+# Makefile.in generated automatically by automake 1.4 from Makefile.am
 
 # Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
 # This Makefile.in is free software; the Free Software Foundation
@@ -137,7 +137,7 @@
 
 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
 
-TAR = tar
+TAR = gtar
 GZIP_ENV = --best
 DEP_FILES =  .deps/pbs.P .deps/pbs_db.P .deps/pbs_option.P \
 .deps/pbs_record.P .deps/pbs_record_db.P
--- a/pbs/pbs_option.c	Thu May 16 17:41:20 2002 +0900
+++ b/pbs/pbs_option.c	Thu May 16 17:53:45 2002 +0900
@@ -90,7 +90,8 @@
 		{"log_file",      'L', POPT_ARG_STRING, NULL, 'L'},
 		{"mode",          'm', POPT_ARG_STRING, NULL, 'm'},
 		{"no_daemon",     'n', POPT_ARG_NONE,   NULL, 'n'},
-		{"prefix",        'p', POPT_ARG_STRING, NULL, 'p'},
+		{"prefix",        'p', POPT_ARG_STRING|POPT_ARGFLAG_OPTIONAL, 
+		                                        NULL, 'p'},
 		{"quiet",         'q', POPT_ARG_NONE,   NULL, 'q'},
 		{"regex",         'r', POPT_ARG_STRING, NULL, 'r'},
 		{"timeout",       't', POPT_ARG_STRING, NULL, 't'},