mirror of
https://github.com/xpipe-io/xpipe.git
synced 2024-09-30 00:56:56 +13:00
Improve help command for linux/macos
This commit is contained in:
parent
e9b0a19509
commit
061dbe1cf3
1 changed files with 9 additions and 6 deletions
|
@ -12,12 +12,15 @@ public class Main {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Since this is not marked as a console application, it will not print anything when you run it in a console
|
// Since this is not marked as a console application, it will not print anything when you run it in a console on Windows
|
||||||
// So sadly there can't be a help command
|
if (args.length == 1 && args[0].equals("--help")) {
|
||||||
// if (args.length == 1 && args[0].equals("--help")) {
|
System.out.println("""
|
||||||
// System.out.println("HELP");
|
The daemon executable xpiped does not accept any command-line arguments.
|
||||||
// return;
|
|
||||||
// }
|
For a reference on what you can do from the CLI, take a look at the xpipe CLI executable instead.
|
||||||
|
""");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
OperationMode.init(args);
|
OperationMode.init(args);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue