nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
tool_context: just print the bash_completion, let the caller do what it want
[nit.git]
/
src
/
toolcontext.nit
diff --git
a/src/toolcontext.nit
b/src/toolcontext.nit
index
a477121
..
6aeda8d
100644
(file)
--- a/
src/toolcontext.nit
+++ b/
src/toolcontext.nit
@@
-255,8
+255,7
@@
class ToolContext
end
if opt_bash_completion.value then
- print bash_completion.write_to_string
- bash_completion.write_to_file("{sys.program_name}.bash")
+ bash_completion.write_to(sys.stdout)
exit 0
end