diff --git a/cccli/commands/list.py b/cccli/commands/list.py index 637a1c1127584b91740976b74c1d9487ce54c78f..4125ca98d2f65899ea134a03a8d320a190cf984c 100644 --- a/cccli/commands/list.py +++ b/cccli/commands/list.py @@ -156,7 +156,7 @@ class Command_list(TqlCommand): # compute index width indexw = max(int(math.log10(len(objs["objects"]))+1), len("index ")) if size_id + indexw >= term_width: - raise cmdError("term width is too small") + raise cmdError("Term width is too small") # build initial print order order = [ t for t in objs.get("order", []) if t in tags ] order.extend(sorted(set(tags.keys()) - set(order))) @@ -243,7 +243,7 @@ class Command_list(TqlCommand): # check if the line width is not too small for this kind of listing, # 10 seem to be a good minimum value: if term_width < 10: - raise cmdError("term width is too small") + raise cmdError("Term width is too small") # remove ignored tags for tag in self.options.ignore: if tag in objs["order"]: diff --git a/cccli/commands/shell.py b/cccli/commands/shell.py index b2f9adbd0f1a8f1bd2f8d70cb8913f147bcd2537..1e8424f6d0bb0998e881dca1f5b50753a8426e04 100644 --- a/cccli/commands/shell.py +++ b/cccli/commands/shell.py @@ -64,7 +64,7 @@ class Command_history(Command): if len(argv) != 1: raise cmdBadArgument() if not self.printer.history: - raise cmdError("not available") + raise cmdError("Not available") for l in self.printer.history: self.printer.out(l)