mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-26 10:43:47 +08:00
Replace ! with not for attributes
This commit is contained in:
parent
5f1384c6c3
commit
2c55213b81
|
@ -1,12 +1,12 @@
|
|||
function __attributes_generate_args --description 'Function to generate args'
|
||||
if ! __fish_seen_subcommand_from disk volume
|
||||
if not __fish_seen_subcommand_from disk volume
|
||||
echo -e 'disk\tDisplay, set, or clear the attributes of a disk
|
||||
volume\tDisplay, set, or clear the attributes of a volume'
|
||||
return
|
||||
end
|
||||
|
||||
if __fish_seen_subcommand_from disk
|
||||
if ! __fish_seen_subcommand_from set clear
|
||||
if not __fish_seen_subcommand_from set clear
|
||||
echo -e 'set\tSet the specified attribute of the disk with focus
|
||||
clear\tClear the specified attribute of the disk with focus'
|
||||
return
|
||||
|
@ -18,7 +18,7 @@ noerr\tWhen an error is encountered, DiskPart continues to process commands'
|
|||
end
|
||||
|
||||
if __fish_seen_subcommand_from volume
|
||||
if ! __fish_seen_subcommand_from set clear
|
||||
if not __fish_seen_subcommand_from set clear
|
||||
echo -e 'set\tSet the specified attribute of the volume with focus
|
||||
clear\tClear the specified attribute of the volume with focus'
|
||||
return
|
||||
|
|
Loading…
Reference in New Issue
Block a user