mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-16 06:54:03 +00:00
Fix setx completion:
- more accurate hints for /s, /u, /p opts
This commit is contained in:
parent
2683dc4af8
commit
cf59ef1435
1 changed files with 8 additions and 2 deletions
|
@ -6,6 +6,14 @@ function __setx_generate_args --description 'Function to generate args'
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
|
if __fish_seen_argument --windows 's'
|
||||||
|
echo -e '/u\tRun the script with the credentials of the specified user account'
|
||||||
|
end
|
||||||
|
|
||||||
|
if __fish_seen_argument --windows 'u'
|
||||||
|
echo -e '/p\tSpecify the password of the user account that is specified in the /u parameter'
|
||||||
|
end
|
||||||
|
|
||||||
if not __fish_seen_argument --windows 'a' --windows 'r' --windows 'x'
|
if not __fish_seen_argument --windows 'a' --windows 'r' --windows 'x'
|
||||||
echo -e '/a\tSpecify absolute coordinates and offset as search parameters
|
echo -e '/a\tSpecify absolute coordinates and offset as search parameters
|
||||||
/r\tSpecify relative coordinates and offset from String as search parameters
|
/r\tSpecify relative coordinates and offset from String as search parameters
|
||||||
|
@ -17,8 +25,6 @@ function __setx_generate_args --description 'Function to generate args'
|
||||||
end
|
end
|
||||||
|
|
||||||
echo -e '/s\tSpecify the name or IP address of a remote computer
|
echo -e '/s\tSpecify the name or IP address of a remote computer
|
||||||
/u\tRun the script with the credentials of the specified user account
|
|
||||||
/p\tSpecify the password of the user account that is specified in the /u parameter
|
|
||||||
/k\tSpecify that the variable is set based on information from a registry key
|
/k\tSpecify that the variable is set based on information from a registry key
|
||||||
/f\tSpecify the file that you want to use
|
/f\tSpecify the file that you want to use
|
||||||
/d\tSpecify delimiters to be used in addition to the four built-in delimiters
|
/d\tSpecify delimiters to be used in addition to the four built-in delimiters
|
||||||
|
|
Loading…
Reference in a new issue