Values for command line parameters?

Any idea where I can find all the values I can use with the --compression option?

I have this issue a lot, actually. I generally use CLI tools and then read the error messages, help docs, and man pages. For Incus I also regularly read the online docs and source code.

Does anyone have a general strategy for figuring out all the possible values for command line parameters?

This matches the values of images.compression_algorithm which typically means one of:

  • bzip2
  • gzip
  • lzma
  • xz
  • none

But from what I recall,we basically allow any compressor on the system so you should be able to do things like --compression=pigz for example to use the parallel version of gzip.

1 Like