From 19c80e679988f3edb755183fc050f1212015d38e Mon Sep 17 00:00:00 2001 From: Michael Rodin Date: Thu, 24 Nov 2022 23:40:18 +0100 Subject: [PATCH] more help --- image-index | 60 +++++++++++++++++++++++++++++++++++++++-------------- 1 file changed, 45 insertions(+), 15 deletions(-) diff --git a/image-index b/image-index index aad1ecf..0de1837 100755 --- a/image-index +++ b/image-index @@ -565,24 +565,52 @@ def delete(args): return 1 tb.delete_index(sel) -def help(typ="",extended=False): # TODO: Implement extended help with examples +def help(args): + syntax=False + for arg in args: + if not syntax and not re.match('[mM]',arg): print("SYNTAX: image-index