From: Niki Roo Date: Fri, 19 Apr 2019 22:55:09 +0000 (+0200) Subject: --tag -> --search-tag X-Git-Tag: fanfix-3.0.0~75 X-Git-Url: https://git.nikiroo.be/?a=commitdiff_plain;h=8141d7ac9891898b77a355bfa152de9f3dd76e7e;p=fanfix.git --tag -> --search-tag --- diff --git a/README-fr.md b/README-fr.md index d5853c2..5a0d7f8 100644 --- a/README-fr.md +++ b/README-fr.md @@ -12,8 +12,8 @@ Fanfix est un petit programme Java qui peut télécharger des histoires sur inte - ```fanfix``` --read-url [*URL*] ([*chapter number*]) - ```fanfix``` --search - ```fanfix``` --search [*where*] [*keywords*] (page [*page*]) (item [*item*]) -- ```fanfix``` --tag -- ```fanfix``` --tag [*index 1*]... (page [*page*]) (item [*item*]) +- ```fanfix``` --search-tag +- ```fanfix``` --search-tag [*index 1*]... (page [*page*]) (item [*item*]) - ```fanfix``` --list - ```fanfix``` --set-reader [*GUI* | *TUI* | *CLI*] - ```fanfix``` --server [*key*] [*port*] diff --git a/README.md b/README.md index 6acc3d1..7e7c3b9 100644 --- a/README.md +++ b/README.md @@ -12,8 +12,8 @@ Fanfix is a small Java program that can download stories from some supported web - ```fanfix``` --read-url [*URL*] ([*chapter number*]) - ```fanfix``` --search - ```fanfix``` --search [*where*] [*keywords*] (page [*page*]) (item [*item*]) -- ```fanfix``` --tag -- ```fanfix``` --tag [*index 1*]... (page [*page*]) (item [*item*]) +- ```fanfix``` --search-tag +- ```fanfix``` --search-tag [*index 1*]... (page [*page*]) (item [*item*]) - ```fanfix``` --list - ```fanfix``` --set-reader [*GUI* | *TUI* | *CLI*] - ```fanfix``` --server [*key*] [*port*] diff --git a/src/be/nikiroo/fanfix/Main.java b/src/be/nikiroo/fanfix/Main.java index faf8820..995251d 100644 --- a/src/be/nikiroo/fanfix/Main.java +++ b/src/be/nikiroo/fanfix/Main.java @@ -35,7 +35,7 @@ import be.nikiroo.utils.serial.server.ServerObject; */ public class Main { private enum MainAction { - IMPORT, EXPORT, CONVERT, READ, READ_URL, LIST, HELP, SET_READER, START, VERSION, SERVER, STOP_SERVER, REMOTE, SET_SOURCE, SET_TITLE, SET_AUTHOR, SEARCH, TAG + IMPORT, EXPORT, CONVERT, READ, READ_URL, LIST, HELP, SET_READER, START, VERSION, SERVER, STOP_SERVER, REMOTE, SET_SOURCE, SET_TITLE, SET_AUTHOR, SEARCH, SEARCH_TAG } /** @@ -65,10 +65,10 @@ public class Main { *
  • --search [where] [keywords] (page [page]) (item [item]): search on * the supported website and display the given results page of stories it * found, or the story details if asked
  • - *
  • --tag [where]: list all the tags supported by this website
  • - *
  • --tag [index 1]... (page [page]) (item [item]): search for the given - * stories or subtags, tag by tag, and display information about a specific - * page of results or about a specific item if requested
  • + *
  • --search-tag [where]: list all the tags supported by this website
  • + *
  • --search-tag [index 1]... (page [page]) (item [item]): search for the + * given stories or subtags, tag by tag, and display information about a + * specific page of results or about a specific item if requested
  • *
  • --list ([type]): list the stories present in the library
  • *
  • --set-source [id] [new source]: change the source of the given story
  • *
  • --set-title [id] [new title]: change the title of the given story
  • @@ -258,7 +258,7 @@ public class Main { exitCode = 255; } break; - case TAG: + case SEARCH_TAG: if (searchOn == null) { searchOn = SupportType.valueOfAllOkUC(args[i]); @@ -509,7 +509,7 @@ public class Main { } break; - case TAG: + case SEARCH_TAG: if (searchOn == null) { exitCode = 255; break; diff --git a/src/be/nikiroo/fanfix/bundles/resources_core.properties b/src/be/nikiroo/fanfix/bundles/resources_core.properties index e244122..363a59b 100644 --- a/src/be/nikiroo/fanfix/bundles/resources_core.properties +++ b/src/be/nikiroo/fanfix/bundles/resources_core.properties @@ -24,8 +24,8 @@ HELP_SYNTAX = Valid options:\n\ \t--search [where] [keywords] (page [page]) (item [item]): search on the supported \n\ \t\twebsite and display the given results page of stories it found, or the story \n\ \t\tdetails if asked\n\ -\t--tag [where]: list all the tags supported by this website\n\ -\t--tag [index 1]... (page [page]) (item [item]): search for the given stories or \n\ +\t--search-tag [where]: list all the tags supported by this website\n\ +\t--search-tag [index 1]... (page [page]) (item [item]): search for the given stories or \n\ \t\tsubtags, tag by tag, and display information about a specific page of results or \n\ \t\tabout a specific item if requested\n\ \t--list ([type]) : list the stories present in the library\n\ diff --git a/src/be/nikiroo/fanfix/bundles/resources_core_fr.properties b/src/be/nikiroo/fanfix/bundles/resources_core_fr.properties index 71c0411..1ce9f64 100644 --- a/src/be/nikiroo/fanfix/bundles/resources_core_fr.properties +++ b/src/be/nikiroo/fanfix/bundles/resources_core_fr.properties @@ -19,8 +19,8 @@ HELP_SYNTAX = Options reconnues :\n\ \t--search [where] [keywords] (page [page]) (item [item]): lance une recherche et \n\ \t\taffiche les résultats de la page page (page 1 par défaut), et de l'item item \n\ \t\tspécifique si demandé\n\ -\t--tag [where]: liste tous les tags supportés par ce site web\n\ -\t--tag [index 1]... (page [page]) (item [item]): affine la recherche, tag par tag,\n\ +\t--search-tag [where]: liste tous les tags supportés par ce site web\n\ +\t--search-tag [index 1]... (page [page]) (item [item]): affine la recherche, tag par tag,\n\ \t\tet affiche si besoin les sous-tags, les histoires ou les infos précises de \n\ \t\tl'histoire demandée\n\ \t--list ([type]): lister les histoires presentes dans la librairie et leurs IDs\n\