diff options
author | Stef Walter <stefw@redhat.com> | 2013-04-12 21:16:25 +0200 |
---|---|---|
committer | Stef Walter <stefw@redhat.com> | 2013-04-26 13:38:23 +0200 |
commit | 46361aa1366ce9def894249cfbc926585d24e328 (patch) | |
tree | 3ebf477392cfc11877dc364b51d013980b11c86b /tools | |
parent | 7a3f6105e108312beb2997442ff74bba59c9684f (diff) |
Fine tune the --os-name and --os-version arguments
The values should be required
https://bugs.freedesktop.org/show_bug.cgi?id=54489
Diffstat (limited to 'tools')
-rw-r--r-- | tools/computer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/computer.c b/tools/computer.c index 3f97e16..44d31f3 100644 --- a/tools/computer.c +++ b/tools/computer.c @@ -287,8 +287,8 @@ adcli_tool_computer_join (adcli_conn *conn, { "domain-ou", required_argument, NULL, opt_domain_ou }, { "computer-ou", required_argument, NULL, opt_domain_ou }, /* compat */ { "service-name", required_argument, NULL, opt_service_name }, - { "os-name", optional_argument, NULL, opt_os_name }, - { "os-version", optional_argument, NULL, opt_os_version }, + { "os-name", required_argument, NULL, opt_os_name }, + { "os-version", required_argument, NULL, opt_os_version }, { "os-service-pack", optional_argument, NULL, opt_os_service_pack }, { "user-principal", optional_argument, NULL, opt_user_principal }, { "show-details", no_argument, NULL, opt_show_details }, |