Skip to content
Snippets Groups Projects
Commit 93d9e9c5 authored by Seblu's avatar Seblu
Browse files

print tag without order, alpha ordered by default

parent 71e92cfb
No related branches found
No related tags found
No related merge requests found
......@@ -234,7 +234,7 @@ class TqlCommand(OptionCommand):
tv = tl.pop(tn, None)
if tv is not None:
pls.append("%s%s:%s%s"%(self.tdtc(tn), tn, self.tdc(tn), self.tdr(tn, tv)))
# print next tags without order
for (tn, tv) in tl.items():
pls.append("%s%s:%s%s"%(self.tdtc(tn), tn, self.tdc(tn), self.tdr(tn, tv)))
# print tags without order, alpha ordered
for tn in sorted(tl.keys()):
pls.append("%s%s:%s%s"%(self.tdtc(tn), tn, self.tdc(tn), self.tdr(tn, tl[tn])))
self.printer.out("%s%s"%(" ".join(pls), color["reset"]))
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment