aboutsummaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorMu Qiao <qiaomuf@gentoo.org>2011-06-13 22:43:47 +0800
committerMu Qiao <qiaomuf@gentoo.org>2011-06-13 23:02:48 +0800
commitc06b64823924adfefd9541f5bb0aac7dba602440 (patch)
tree598ba9f9f11615f378f29fb80e4f78ec25cf37ba /utils
parentCore: rename bash option to additional option (diff)
downloadlibbash-c06b64823924adfefd9541f5bb0aac7dba602440.tar.gz
libbash-c06b64823924adfefd9541f5bb0aac7dba602440.tar.bz2
libbash-c06b64823924adfefd9541f5bb0aac7dba602440.zip
Core: first support for bash options
This commit is intended to support $- so no method for changing bash options is added.
Diffstat (limited to 'utils')
-rw-r--r--utils/variable_printer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/variable_printer.cpp b/utils/variable_printer.cpp
index 9104273..84cd252 100644
--- a/utils/variable_printer.cpp
+++ b/utils/variable_printer.cpp
@@ -33,7 +33,7 @@
static const std::vector<std::string> special_variables
{
- "IFS", "?", "*", "0"
+ "IFS", "?", "*", "0", "-"
};
static std::string get_src_dir()