cli: Avoid trailing spaces on list
Use '-'s to avoid trailing spaces on items when listing patches. The spaces are used as part of the format with colouring. However they are a nuisance to support in testing given the autoformatting of editors to remove them. Signed-off-by: Slack Coder <slackcoder@server.ky>
This commit is contained in:
parent
a6d59b3c0e
commit
284aadc37c
|
|
@ -53,12 +53,12 @@ It will now be listed as one of the project's open patches.
|
||||||
```
|
```
|
||||||
$ rad patch
|
$ rad patch
|
||||||
|
|
||||||
YOU PROPOSED
|
- YOU PROPOSED -
|
||||||
|
|
||||||
define power requirements 3b1f58414e5 R0 7939a9e (flux-capacitor-power) ahead 1, behind 0
|
define power requirements 3b1f58414e5 R0 7939a9e (flux-capacitor-power) ahead 1, behind 0
|
||||||
└─ * opened by z6MknSLrJoTcukLrE435hVNQT4JUhbvWLX4kUzqkEStBU8Vi (you) [..]
|
└─ * opened by z6MknSLrJoTcukLrE435hVNQT4JUhbvWLX4kUzqkEStBU8Vi (you) [..]
|
||||||
|
|
||||||
OTHERS PROPOSED
|
- OTHERS PROPOSED -
|
||||||
|
|
||||||
Nothing to show.
|
Nothing to show.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -39,7 +39,10 @@ pub fn run(
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
term::blank();
|
term::blank();
|
||||||
term::print(term::format::badge_positive("YOU PROPOSED"));
|
term::print(format!(
|
||||||
|
"-{}-",
|
||||||
|
term::format::badge_secondary("YOU PROPOSED")
|
||||||
|
));
|
||||||
|
|
||||||
if own.is_empty() {
|
if own.is_empty() {
|
||||||
term::blank();
|
term::blank();
|
||||||
|
|
@ -52,7 +55,10 @@ pub fn run(
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
term::blank();
|
term::blank();
|
||||||
term::print(term::format::badge_secondary("OTHERS PROPOSED"));
|
term::print(format!(
|
||||||
|
"-{}-",
|
||||||
|
term::format::badge_secondary("OTHERS PROPOSED")
|
||||||
|
));
|
||||||
|
|
||||||
if other.is_empty() {
|
if other.is_empty() {
|
||||||
term::blank();
|
term::blank();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue