Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
LeChatP committed May 14, 2024
1 parent 86f6267 commit c28a41d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/sr/cli.pest
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cli = { SOI ~ sr ~ options ~ command ~ EOI }

sr = _{ "sr" }
sr = _{ name }

options = _{ (role_opt | task_opt | prompt_opt | info | help)* }

Expand Down
1 change: 1 addition & 0 deletions src/sr/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -557,6 +557,7 @@ mod tests {
task: None,
prompt: PAM_PROMPT.to_string(),
info: false,
help: false,
command: vec!["ls".to_string(), "-l".to_string()],
};
let user = Cred {
Expand Down

0 comments on commit c28a41d

Please sign in to comment.