summaryrefslogtreecommitdiffstats
path: root/src/phmain.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2009-05-05 13:27:06 +0200
committerChristophe Grenier <grenier@cgsecurity.org>2009-05-05 13:27:06 +0200
commitae53cc10c3bd88812f3654737992bf94fbaca299 (patch)
treed8c42d9507e3fa50fc54733701aa4be56d7bd1ac /src/phmain.c
parent8b8826461f7c24bbfc86f2d983ccf60ca603caff (diff)
"photorec /?" returns the help message
Diffstat (limited to 'src/phmain.c')
-rw-r--r--src/phmain.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/phmain.c b/src/phmain.c
index ed88174..8c9544c 100644
--- a/src/phmain.c
+++ b/src/phmain.c
@@ -184,7 +184,8 @@ int main( int argc, char **argv )
else if((strcmp(argv[i],"/direct")==0) || (strcmp(argv[i],"-direct")==0))
testdisk_mode|=TESTDISK_O_DIRECT;
else if((strcmp(argv[i],"/help")==0) || (strcmp(argv[i],"-help")==0) || (strcmp(argv[i],"--help")==0) ||
- (strcmp(argv[i],"/h")==0) || (strcmp(argv[i],"-h")==0))
+ (strcmp(argv[i],"/h")==0) || (strcmp(argv[i],"-h")==0) ||
+ (strcmp(argv[i],"/?")==0) || (strcmp(argv[i],"-?")==0))
help=1;
else if((strcmp(argv[i],"/version")==0) || (strcmp(argv[i],"-version")==0) || (strcmp(argv[i],"--version")==0) ||
(strcmp(argv[i],"/v")==0) || (strcmp(argv[i],"-v")==0))