diff --git a/SC2145.md b/SC2145.md index 969a53f..b97ba40 100644 --- a/SC2145.md +++ b/SC2145.md @@ -56,6 +56,7 @@ main() { } main foo aaa bbb +main bar ``` In the above example, inside the `main` function the value of `"$@"` is `( foo aaa bbb )`. The value of `subcommand_"$@"` after expansion is `( subcommand_foo aaa bbb )`, which the shell interprets as a call to `subcommand_foo` with parameters `aaa` and `bbb`. \ No newline at end of file