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