aboutsummaryrefslogtreecommitdiffstats
path: root/cosu.1
diff options
context:
space:
mode:
authorLouis Burda <dev@sinitax.com>2026-02-28 22:40:35 +0100
committerLouis Burda <dev@sinitax.com>2026-02-28 22:40:39 +0100
commit73595039295794319a86add61662f4226cff6c9b (patch)
tree810a5588e83fd91fcbf8453c041f2715197a9bde /cosu.1
parent23bf13e06138bec9f5cd2122745adb9397f28d86 (diff)
downloadcosu-main.tar.gz
cosu-main.zip
Switch to /bin/sh for compat and add --versionHEADmain
Diffstat (limited to 'cosu.1')
-rw-r--r--cosu.17
1 files changed, 5 insertions, 2 deletions
diff --git a/cosu.1 b/cosu.1
index 5b9ee0b..adf240e 100644
--- a/cosu.1
+++ b/cosu.1
@@ -1,4 +1,4 @@
-.TH COSU 1 "February 2026" "cosu 1.0.0" "User Commands"
+.TH COSU 1 "February 2026" "cosu 1.1.0" "User Commands"
.SH NAME
cosu \- conditionally execute commands with sudo based on file permissions
.SH SYNOPSIS
@@ -18,6 +18,9 @@ If all checks pass, the command runs normally without privilege escalation.
.TP
.BR \-h ", " \-\-help
Display help message and exit.
+.TP
+.B \-\-version
+Print version information and exit.
.SH FLAGS
The following flags specify which permissions to check on the subsequent path.
Multiple flags can be specified before a single path. Short flags can be
@@ -159,4 +162,4 @@ There is NO WARRANTY, to the extent permitted by law.
.SH SEE ALSO
.BR sudo (8),
.BR test (1),
-.BR bash (1)
+.BR sh (1)