Github user traflm commented on a diff in the pull request:
https://github.com/apache/trafodion/pull/1679#discussion_r208065409
--- Diff: core/sqf/src/tm/tools/dtmci.cpp ---
@@ -1801,6 +1801,20 @@ int main(int argc, char *argv[])
<< "' for status command." << endl;
}
}
+ else if (!strcmp(lp_nextcmd, "showenv"))
+ {
+ get_cmd(lp_inputstr, lp_nextcmd);
+ if (lp_nextcmd[0] == '\0')
+ cout <<"TODO: show all env var\n" << endl;
+ else
+ {
+ const char* v = ms_getenv_str((const char*)lp_nextcmd);
+ if(v == NULL)
+ cout <<"*** Enviorement Var not exist" << endl;
--- End diff --
thanks Dave, I will change this typo
---