forked from KolibriOS/kolibrios
Fix '-v' option
git-svn-id: svn://kolibrios.org@8393 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
e52ed5b883
commit
751768c3c2
@ -1785,7 +1785,7 @@ int handleArgs(int argc, char* argv[]) {
|
|||||||
printHelp();
|
printHelp();
|
||||||
return -1;
|
return -1;
|
||||||
} else if(strncmp("-v", argv[1], 2) == 0 || strncmp("--version", argv[1], 9) == 0) {
|
} else if(strncmp("-v", argv[1], 2) == 0 || strncmp("--version", argv[1], 9) == 0) {
|
||||||
char* _notify_version = "'Version:\n";
|
char _notify_version[256] = "'Version:\n";
|
||||||
strcat(_notify_version, TTE_VERSION);
|
strcat(_notify_version, TTE_VERSION);
|
||||||
strcat(_notify_version, "' -t -I");
|
strcat(_notify_version, "' -t -I");
|
||||||
/// printf("tte - version %s\n", TTE_VERSION);
|
/// printf("tte - version %s\n", TTE_VERSION);
|
||||||
|
Loading…
Reference in New Issue
Block a user