Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-19443

lctl interactive mode - short help not shown for invalid input

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Minor
    • Lustre 2.17.0
    • Lustre 2.16.0
    • None
    • 3
    • 9223372036854775807

    Description

      When lctl interactive mode is used, it is possible to type "help" to print the short help for a given command. It would be helpful if invalid commands, such as "?", also presented the short help of the command currently being run in interactive mode.

      mgs # lctl nodemap
      > help
      usage: lctl nodemap [COMMAND] [OPTIONS]... [ARGS]
      Without any parameters, interactive mode is invoked
      Try 'lctl nodemap help <COMMAND>', or 'lctl nodemap --list-commands' for a list of commands.
      >
      > ?
      No such command. Try --list-commands to see available commands.
      >
      > --list-commands
      quit                exit                help                --help
      version             --version           list-commands       --list-commands
      --ignore_errors     ignore_errors       activate            add
      del                 add_range           del_range           banlist_add
      banlist_del         fileset_add         fileset_del         fileset_modify
      modify              add_offset          del_offset          add_idmap
      del_idmap           set_cap             set_fileset         set_sepol
      test_nid            test_id             info                net_delay_add
      net_delay_del       net_delay_reset     net_delay_list
       

      Attachments

        Activity

          People

            mvef Marc Vef
            mvef Marc Vef
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: