2021-12-04 17:32:40 +08:00
|
|
|
# Completion for: PascalABC.NET 3.8.1 compiler
|
|
|
|
|
2021-11-27 18:06:08 +08:00
|
|
|
function __pabcnetcclear_generate_args --description 'Function to generate args'
|
2021-12-16 00:59:12 +08:00
|
|
|
set --local current_token (commandline --current-token --cut-at-cursor)
|
|
|
|
switch $current_token
|
|
|
|
case '/Debug:*'
|
|
|
|
echo -e $current_token"0\tEnable generation
|
2021-11-27 18:06:08 +08:00
|
|
|
$current_token"1"\tDisable generation"
|
2021-12-16 00:59:12 +08:00
|
|
|
case '*'
|
|
|
|
echo -e "/Help\tShow help
|
2021-11-27 18:06:08 +08:00
|
|
|
/H\tShow help
|
|
|
|
/?\tShow help
|
|
|
|
/Debug\tGenerate a code debug info
|
|
|
|
/output\tSpecify an executable name
|
2021-12-04 17:32:40 +08:00
|
|
|
/SearchDir\tSpecify a path to search units
|
|
|
|
/define\tDefine a symbol"
|
2021-12-16 00:59:12 +08:00
|
|
|
end
|
2021-11-27 18:06:08 +08:00
|
|
|
end
|
|
|
|
|
|
|
|
complete --command pabcnetcclear --no-files --arguments '(__pabcnetcclear_generate_args)'
|