[Illumos-team] [OpenIndiana Distribution - Bug #2868] "zoneadm .. uninstall -h" superfluosly asks for confirmation
illumos project
devnull at illumos.org
Fri Feb 8 03:37:01 UTC 2013
Issue #2868 has been updated by Ken Mays.
Assignee set to OI illumos
----------------------------------------
Bug #2868: "zoneadm .. uninstall -h" superfluosly asks for confirmation
https://www.illumos.org/issues/2868
Author: Jim Klimov
Status: New
Priority: Normal
Assignee: OI illumos
Category:
Target version:
Difficulty: Medium
Tags: needs-triage
The request for help "-h" (and the dry-run "-n") ask for confirmation - whether the user really wants the zone destroyed. However, at least for the help text which does nothing related to the actual zone - only prints the help and exits - this confirmation request is a useless annoyance. Arguably likewise for the dry-run as well.
<pre>
# zoneadm -z zone1 uninstall -h
Are you sure you want to uninstall zone zone1 (y/[n])? y
Usage: uninstall: [-hFn]
usage: uninstall [-F] [brand-specific args]
Uninstall the configuration from the system. The -F flag can be used
to force the action. All other arguments are passed to the brand
uninstall function; see brands(5) for more information.
</pre>
QUEST: If the help action was requested (-h), don't ask to confirm if the zone should be uninstalled. If possible, don't even require that an existing zone be specified.
--
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://www.illumos.org/my/account
More information about the Illumos-team
mailing list