mirror of
https://github.com/ErikReider/SwayNotificationCenter.git
synced 2024-10-05 21:08:40 +03:00
Exit client when no args are inputed
This commit is contained in:
parent
d45a1a7712
commit
e96b6eaac9
@ -52,7 +52,7 @@ public int command_line (string[] args) {
|
||||
try {
|
||||
if (args.length < 2) {
|
||||
print_help (args);
|
||||
return 1;
|
||||
Process.exit (1);
|
||||
}
|
||||
switch (args[1]) {
|
||||
case "--help":
|
||||
|
Loading…
Reference in New Issue
Block a user