mirror of
https://github.com/cmclark00/retro-imager.git
synced 2025-05-18 07:55:21 +01:00
Mention version number in title bar
This commit is contained in:
parent
b269d0b522
commit
bd37916527
8 changed files with 42 additions and 12 deletions
8
main.cpp
8
main.cpp
|
@ -107,7 +107,13 @@ int main(int argc, char *argv[])
|
|||
}
|
||||
else if (args[i] == "--help")
|
||||
{
|
||||
cerr << args[0] << " [--debug] [--repo <repository URL>] [<image file to write>]" << endl;
|
||||
cerr << args[0] << " [--debug] [--version] [--repo <repository URL>] [<image file to write>]" << endl;
|
||||
return 0;
|
||||
}
|
||||
else if (args[i] == "--version")
|
||||
{
|
||||
cerr << args[0] << " version " << imageWriter.constantVersion() << endl;
|
||||
cerr << "Repository: " << imageWriter.constantOsListUrl().toString() << endl;
|
||||
return 0;
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue