Zbigniew Jędrzejewski-Szmek
2e7e19cafc
systemctl: be nice to users and give hint how to specify "-.mount"
...
https://bugzilla.redhat.com/show_bug.cgi?id=1656639
Using "--" is a trick that is hard to discover. Let's give users a hint:
$ build/systemctl status -.service
build/systemctl: invalid option -- '.'
Hint: to specify units starting with a dash, use "--":
build/systemctl [OPTIONS...] {COMMAND} -- -.service ...
I use program_invocation_name because that's what getopt seems to use.
"::" is used in the option string so that getopt doesn't complain about
a missing argument in case somebody passes "-." as the argument. After all
"." is not a real option.
2018-12-07 02:49:03 +01:00
..
2018-11-22 10:54:38 +01:00
2018-12-01 12:50:45 +01:00
2018-12-04 16:19:02 +01:00
2018-11-22 10:54:38 +01:00
2018-11-26 14:08:46 +01:00
2018-12-06 19:29:42 +01:00
2018-11-22 10:54:38 +01:00
2018-12-03 13:28:26 +01:00
2018-12-03 22:42:38 +01:00
2018-11-22 10:54:38 +01:00
2018-12-02 12:06:07 +01:00
2018-12-06 17:19:21 +01:00
2018-12-06 17:19:21 +01:00
2018-12-02 12:18:54 +01:00
2018-11-22 10:54:38 +01:00
2018-12-01 12:50:45 +01:00
2018-11-22 10:54:38 +01:00
2018-11-22 10:54:38 +01:00
2018-12-02 13:22:29 +01:00
2018-11-22 10:54:38 +01:00
2018-12-02 13:22:29 +01:00
2018-12-01 12:50:45 +01:00
2018-11-29 21:03:44 +01:00
2018-12-06 13:31:16 +01:00
2018-11-29 21:03:44 +01:00
2018-11-22 10:54:38 +01:00
2018-12-04 10:00:34 +01:00
2018-11-22 10:54:38 +01:00
2018-12-06 17:19:21 +01:00
2018-11-22 10:54:38 +01:00
2018-12-04 09:29:54 +01:00
2018-12-06 17:19:21 +01:00
2018-12-06 17:19:21 +01:00
2018-12-06 13:31:16 +01:00
2018-11-23 09:16:11 +01:00
2018-12-04 16:19:02 +01:00
2018-12-06 17:19:21 +01:00
2018-12-06 17:19:21 +01:00
2018-11-22 10:54:38 +01:00
2018-11-29 21:03:44 +01:00
2018-12-06 16:54:27 +01:00
2018-11-22 10:54:38 +01:00
2018-12-06 17:19:21 +01:00
2018-12-01 12:50:45 +01:00
2018-11-22 10:54:38 +01:00
2018-12-06 13:31:16 +01:00
2018-12-01 12:50:45 +01:00
2018-11-22 10:54:38 +01:00
2018-12-05 12:52:47 +01:00
2018-12-01 12:50:45 +01:00
2018-12-06 19:29:42 +01:00
2018-11-23 06:22:30 +09:00
2018-11-26 14:08:46 +01:00
2018-11-27 09:44:40 +01:00
2018-12-07 02:49:03 +01:00
2018-11-22 10:54:38 +01:00
2018-11-23 06:22:30 +09:00
2018-11-22 10:54:38 +01:00
2018-12-01 12:50:45 +01:00
2018-11-22 10:54:38 +01:00
2018-12-07 02:49:03 +01:00
2018-12-06 10:42:36 +05:30
2018-12-03 17:59:44 +01:00
2018-12-06 13:31:16 +01:00
2018-11-23 06:22:30 +09:00
2018-12-04 10:00:34 +01:00
2018-11-22 10:54:38 +01:00
2018-12-02 12:18:54 +01:00
2018-11-22 10:54:38 +01:00
2018-12-06 17:19:21 +01:00
2018-11-23 06:22:30 +09:00
2018-11-23 06:22:30 +09:00
2018-12-04 09:29:54 +01:00
2018-12-06 17:19:21 +01:00
2018-11-23 06:22:30 +09:00
2018-11-29 21:03:44 +01:00