Bugzilla – Bug 1236
pkgsend open should not allow both -e and -n
Last modified: 2009-02-13 12:08:04 UTC
You need to log in before you can comment on or make changes to this bug.
pkgsend open -en testpkg@1 and pkgsend open -ne testpkg@1 should return usage. Currently the option that is given last is the one that is used. -bash-3.2# pkgsend open thepkg1@1 export PKG_TRANS_ID=1208299045_pkg%3A%2Fthepkg1%401%2C5.11%3A20080415T153725Z -bash-3.2# pkgsend open -n thepkg2@1 1208299057_pkg%3A%2Fthepkg2%401%2C5.11%3A20080415T153737Z -bash-3.2# pkgsend open -e thepkg3@1 export PKG_TRANS_ID=1208299065_pkg%3A%2Fthepkg3%401%2C5.11%3A20080415T153745Z -bash-3.2# pkgsend open -ne thepkg4@1 export PKG_TRANS_ID=1208299080_pkg%3A%2Fthepkg4%401%2C5.11%3A20080415T153800Z -bash-3.2# pkgsend open -en thepkg5@1 1208299094_pkg%3A%2Fthepkg5%401%2C5.11%3A20080415T153814Z
Reproducable on current bits. Accepting.
Bulk move of pkgsend bugs to new category.
Just need to check to see if both options have been specified and then error out if they have.
Now displays: pkgsend: only -e or -n may be specified Usage: ...
Fixed in changeset 873 / b95d76c53b5eeece7335982e3ccf7047770decc4.