openSUSE/suse-doc-style-checker

command too long -> use screen

Closed this issue · 2 comments

... but screen element already exists.

Example:

   <screen>&prompt.sudo;<command>nvme connect -t rdma -a 10.0.0.1 -s 4420 -n nqn.2014-08.com.example:nvme:nvm-subsystem-sn-d78432</command></screen>
storage_nvmeof.xml
        sec.nvmeof.host_configuration.connect_target
        
      
      command element
          nvme connect -t rdma -a 10.0.0.1 -s 4420 -n nqn.20…
                
          contains 96 characters.
        
      Use a screen element.

@svenseeberg Does it change if you use the following notation? See the position of the closing </command> tag:

<screen>&prompt.sudo;<command>nvme</command> connect -t rdma -a 10.0.0.1 -s 4420 -n nqn.2014-08.com.example:nvme:nvm-subsystem-sn-d78432</screen>

No, @svenseeberg is right. If your suggestion changes anything (which it will of course because the command is now shorter), then that is more of an accident.