TritonDataCenter / sdc-imgapi-cli

SDC CLI client for working with an IMGAPI repository
Mozilla Public License 2.0
3 stars 6 forks source link

updates-imgadm confuses compression and channel #5

Open bahamat opened 3 years ago

bahamat commented 3 years ago

They both use -c. Using -c <anything> gives an error.

updates-imgadm: error (ValidationFailed): unknown channel: gzip
    channel: Invalid
updates-imgadm: error (Usage): invalid compression "dev": must be one of bzip2, gzip, none
bahamat commented 3 years ago

Digging into this some more, using -c gzip -C dev works but -C dev -c gzip confuses it.