bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Help output has bad indentation


From: Christian Weisgerber
Subject: Help output has bad indentation
Date: Wed, 21 Jan 2015 16:37:09 +0100
User-agent: Mutt/1.5.23 (2014-03-12)

The output of "help <builtin>" suffers from various indentation problems.
E.g., an excerpt from "help history":

...
      -a        append history lines from this session to the history file
      -n        read all history lines not already read from the history file
      -r        read the history file and append the contents to the history
        list
      -w        write the current history to the history file
        and append them to the history list
    
      -p        perform history expansion on each ARG and display the result
        without storing it in the history list
      -s        append the ARGs to the history list as a single entry
...

The problem is that the documentation in builtins/*.def is written
starting in column 1 and includes tab characters, but the help
output is then indented by BASE_INDENT (4) characters.

Affects at least 4.2.x, 4.3.x.
-- 
Christian "naddy" Weisgerber                          naddy@mips.inka.de



reply via email to

[Prev in Thread] Current Thread [Next in Thread]