nitlanguage
/
nit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4f09f1c
)
tool_context: just print the bash_completion, let the caller do what it want
author
Jean Privat
<jean@pryen.org>
Thu, 24 Jul 2014 15:08:33 +0000
(11:08 -0400)
committer
Jean Privat
<jean@pryen.org>
Fri, 25 Jul 2014 14:22:33 +0000
(10:22 -0400)
Signed-off-by: Jean Privat <jean@pryen.org>
src/toolcontext.nit
patch
|
blob
|
history
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