diff --git a/image-index b/image-index index 0de1837..abaf808 100755 --- a/image-index +++ b/image-index @@ -592,8 +592,10 @@ def help(args): print("\tPrompt: image-index open") print("EXAMPLE:\nimage-index open example -s example.org -i an example\n") elif re.match('[sS].*',arg): - print("show:\tsearches through the index and shows the matches (use prompt for list of filters);\n\tInstant: image-index show ") + print("show:\tsearches through the index and shows the matches;\n\tInstant: image-index show ") print("\tPrompt: image-index show") + print("FILTERS: -a: All types\n\t -c: Category\n\t -f: Filename\n\t -g: Tags") + print("\t -h: Hash\n\t -i: Content\n\t -s: Source\n\t -t: Title") print("EXAMPLE:\nimage-index show example -c category\n") elif re.match('[uU].*',arg): print("update:\tchanges specific column based on a search query;\n\tInstant: image-index update ") @@ -683,8 +685,8 @@ def meta_help(): print("OPTIONS:\n\thelp:\tdisplays this text") print("\tcheck:\tcheck which items don't have an entry yet;\n\t\tSyntax: image-index meta check ") print("\tupdate:\tchange an alias of one entry based on a search query;\n\t\tSyntax: image-index update [entry] [alias]") - print('\t\tExample: image-index meta update tags Example "New alias"') - print('\t\t\t image-index meta update category "A Category" "Example Category"\n') + print('\t\tExamples: image-index meta update tags Example "New alias"') + print('\t\t\t image-index meta update category "A Category" "Example Category"\n') def sopen(args): plat=sys.platform @@ -732,15 +734,9 @@ def repair(err_list): def search(args,quiet=False): if len(args) == 0: - print("Separate the items with spaces ( )") - print("FILTERS: -a: All types") - print("\t -c: Category") - print("\t -f: Filename") - print("\t -g: Tags") - print("\t -h: Hash") - print("\t -i: Content") - print("\t -s: Source") - print("\t -t: Title") + print("Separate the items with spaces.") + print("FILTERS: -a: All types\n\t -c: Category\n\t -f: Filename\n\t -g: Tags") + print("\t -h: Hash\n\t -i: Content\n\t -s: Source\n\t -t: Title") args=input("Query: ") if len(args) > 0: res=tb.search_index(args.split(' '),quiet)