Skip to content

krunkit --help inconsistent options indentation #25

@nirs

Description

@nirs

The options are in indented inconsistency. This is a minor detail but it does not give a good feel about the program.

Current output:

Options:
      --cpus <CPUS>
          Number of vCPUs for the VM
      --memory <MEMORY>
          Amount of RAM available to VM
      --bootloader <BOOTLOADER>
          Bootloader configuration
      --device <DEVICES>
          virtio devices to configure in the VM
      --restful-uri <RESTFUL_URI>
          URI of the status/shutdown listener
      --gui
          GUI option for compatibility with vfkit (ignored)
      --oem-string <OEM_STRINGS>
          SMBIOS OEM String
      --krun-log-level <KRUN_LOG_LEVEL>
          Log level for libkrun (0=off, 1=error, 2=warn, 3=info, 4=debug, 5 or higher=trace) [default: 0]
  -h, --help
          Print help
  -V, --version
          Print version

Desired indentation:

Options:
  --cpus <CPUS>
          Number of vCPUs for the VM
  --memory <MEMORY>
          Amount of RAM available to VM
  --bootloader <BOOTLOADER>
          Bootloader configuration
  --device <DEVICES>
          virtio devices to configure in the VM
  --restful-uri <RESTFUL_URI>
          URI of the status/shutdown listener
  --gui
          GUI option for compatibility with vfkit (ignored)
  --oem-string <OEM_STRINGS>
          SMBIOS OEM String
  --krun-log-level <KRUN_LOG_LEVEL>
          Log level for libkrun (0=off, 1=error, 2=warn, 3=info, 4=debug, 5 or higher=trace) [default: 0]
  -h, --help
          Print help
  -V, --version
          Print version

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions