openSUSE / suse-doc-style-checker

Style Checker for SUSE Documentation
Other
2 stars 5 forks source link

command too long -> use screen #167

Closed svenseeberg closed 6 years ago

svenseeberg commented 6 years ago

... 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.
tomschr commented 6 years ago

@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>
ghost commented 6 years ago

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.