kdb-ls: fix regression of -0 option
see
@@ -92,10 +92,18 @@ void LsCommand::printResults (KeySet const & part, const int rootDepth, Cmdline
{
cout << " " << depth;
}
+
+ if (cl.null)
+ {
+ cout << '\0' << std::flush;
+ }
+ else
+ {
cout << endl;
}
}
}
+}
int LsCommand::getDepth (Key const & key)
{
