commit 00c5b79
hovercats
·
2026-09-12 02:30:30 +0000 UTC
parent fe9bd0c
remove the call for rcpm_help on no arguemnt. this is technically catched by the switch anyway, and I dont really care for the edgecase of printing it if rcpm_path is unset.
1 files changed,
+0,
-1
M
rcpm
M
rcpm
+0,
-1
1@@ -11,7 +11,6 @@ fn errexit {
2
3 fn rcpm_help {log 'Usage: rcpm b|c|d||h|i|l|m|u|r|s'}
4
5-if (~ $#* 0) rcpm_help
6 if (~ $#rcpm_path 0) errexit rcpm_path needs to be set
7 if (~ $#rcpm_root 0) rcpm_root=/
8 if (~ $#rcpm_db 0) rcpm_db=/var/db/rcpm