Skip to content

Commit 63f55f2

Browse files
Narratjaromil
authored andcommitted
--sudo: Allow sudo-rs
1 parent 3edeaef commit 63f55f2

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

doc/tomb.1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ Default is 1 thread (based on the \fIargon2\fR default).
326326
.B
327327
.IP "--sudo \fI<executable>\fR"
328328
Select a different tool than sudo or doas for privilege escalation.
329-
Alternatives supported so far are: pkexec, sup, sud. For any
329+
Alternatives supported so far are: pkexec, sup, sud, sudo-rs. For any
330330
alternative to work the executable must be included in the current
331331
PATH.
332332
.B

tomb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,9 @@ _sudo() {
151151
$msg
152152
")
153153
;;
154+
"sudo-rs")
155+
pe_extras=("-p" "$msg")
156+
;;
154157
"doas"|"sup"|"sud"|"pkexec")
155158
;;
156159
*)

0 commit comments

Comments
 (0)