]> git.tuebingen.mpg.de Git - gsu.git/blobdiff - funcs/gsu
Allow hyphens in command names.
[gsu.git] / funcs / gsu
index 63e0acf7dfb705047efb1f4809c9af3282fbe9a3..1a35fca523b5084455e2a25c24e87fcbe0e08d97 100644 (file)
--- a/funcs/gsu
+++ b/funcs/gsu
@@ -139,7 +139,7 @@ export -f _gsu_usage
 
 # Each line matching this is recognized as a subcommand. The name
 # of the subcommand is the first subexpression.
-export gsu_command_regex='^com_\([a-zA-Z_0-9]\+\)()'
+export gsu_command_regex='^com_\([-a-zA-Z_0-9]\+\)()'
 
 _gsu_available_commands()
 {