diff options
| author | Maria Lisina <sekoohaka.sarisan@gmail.com> | 2025-06-19 04:22:49 +0500 |
|---|---|---|
| committer | Maria Lisina <sekoohaka.sarisan@gmail.com> | 2025-06-19 04:22:49 +0500 |
| commit | 8c019c8d14ea06d3ef89fbd0d26258aed788ab15 (patch) | |
| tree | 1db85a1fabc11e206b76bb88cde8dc2073174ec8 /units/help.zsh | |
| parent | 45e0785f64965600334f9df4e2ff7ea60cced5fb (diff) | |
units/help: Move donate command removal upper
Signed-off-by: Maria Lisina <sekoohaka.sarisan@gmail.com>
Diffstat (limited to 'units/help.zsh')
| -rw-r--r-- | units/help.zsh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/units/help.zsh b/units/help.zsh index 680b968..fdc076c 100644 --- a/units/help.zsh +++ b/units/help.zsh @@ -4,12 +4,12 @@ output_text="$(< "${files}/help.txt" | sed "s/{version}/${version}/")" -if [[ -n "${nocommand_source}" ]] +if [[ -n "${nocommand_donate}" ]] then - output_text="$(printf "%s" "${output_text}" | sed -e '/^\[snkey\].*$/d' -e '/^\/source.*$/d')" + output_text="$(printf "%s" "${output_text}" | sed -e '/^<code>donate.*$/d' -e '/^\/donate.*$/d')" fi -if [[ -n "${nocommand_donate}" ]] +if [[ -n "${nocommand_source}" ]] then - output_text="$(printf "%s" "${output_text}" | sed -e '/^<code>donate.*$/d' -e '/^\/donate.*$/d')" + output_text="$(printf "%s" "${output_text}" | sed -e '/^\[snkey\].*$/d' -e '/^\/source.*$/d')" fi |
