mirror of
https://github.com/Swordfish90/cool-retro-term.git
synced 2025-02-07 13:41:27 +00:00
add --version, aka -v, command line option
This commit is contained in:
parent
888ab49e44
commit
151fb6e58d
@ -61,6 +61,11 @@ int main(int argc, char *argv[])
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (args.contains("-v") || args.contains("--version")) {
|
||||||
|
qDebug() << "cool-retro-term 0.9";
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
// Manage default command
|
// Manage default command
|
||||||
QStringList cmdList;
|
QStringList cmdList;
|
||||||
if (args.contains("-e")) {
|
if (args.contains("-e")) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user