Prevented reading of startup files with first arg -version, -help or --help

This commit is contained in:
Thomas Schmitt 2006-09-27 08:20:02 +00:00
parent 84ee76f564
commit 927352c609
2 changed files with 5 additions and 3 deletions

View File

@ -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)

View File

@ -1 +1 @@
#define Cdrskin_timestamP "2006.09.27.080826"
#define Cdrskin_timestamP "2006.09.27.082057"