Prevented reading of startup files with first arg -version, -help or --help
This commit is contained in:
parent
4b197a2b57
commit
83385800b8
@ -1533,9 +1533,11 @@ return:
|
||||
char *value_pt;
|
||||
|
||||
#ifndef Cdrskin_extra_leaN
|
||||
if(argc>1)
|
||||
if(strcmp(argv[1],"--no_rc")==0)
|
||||
if(argc>1) {
|
||||
if(strcmp(argv[1],"--no_rc")==0 || strcmp(argv[1],"-version")==0 ||
|
||||
strcmp(argv[1],"--help")==0 || strcmp(argv[1],"-help")==0)
|
||||
flag|= 2;
|
||||
}
|
||||
if(!(flag&2)) {
|
||||
ret= Cdrpreskin_read_rc(o,argv[0],0);
|
||||
if(ret<0)
|
||||
|
@ -1 +1 @@
|
||||
#define Cdrskin_timestamP "2006.09.27.080826"
|
||||
#define Cdrskin_timestamP "2006.09.27.082057"
|
||||
|
Loading…
Reference in New Issue
Block a user