mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-28 04:03:39 +08:00
04de5b1fec
* Add /define option * Fix PascalABC.NET version
21 lines
650 B
Fish
21 lines
650 B
Fish
# Completion for: PascalABC.NET 3.8.1 compiler
|
|
|
|
function __pabcnetcclear_generate_args --description 'Function to generate args'
|
|
set --local current_token (commandline --current-token --cut-at-cursor)
|
|
switch $current_token
|
|
case '/Debug:*'
|
|
echo -e $current_token"0\tEnable generation
|
|
$current_token"1"\tDisable generation"
|
|
case '*'
|
|
echo -e "/Help\tShow help
|
|
/H\tShow help
|
|
/?\tShow help
|
|
/Debug\tGenerate a code debug info
|
|
/output\tSpecify an executable name
|
|
/SearchDir\tSpecify a path to search units
|
|
/define\tDefine a symbol"
|
|
end
|
|
end
|
|
|
|
complete --command pabcnetcclear --no-files --arguments '(__pabcnetcclear_generate_args)'
|