- ```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*]
- ```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*]
*/
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
}
/**
* <li>--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</li>
- * <li>--tag [where]: list all the tags supported by this website</li>
- * <li>--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</li>
+ * <li>--search-tag [where]: list all the tags supported by this website</li>
+ * <li>--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</li>
* <li>--list ([type]): list the stories present in the library</li>
* <li>--set-source [id] [new source]: change the source of the given story</li>
* <li>--set-title [id] [new title]: change the title of the given story</li>
exitCode = 255;
}
break;
- case TAG:
+ case SEARCH_TAG:
if (searchOn == null) {
searchOn = SupportType.valueOfAllOkUC(args[i]);
}
break;
- case TAG:
+ case SEARCH_TAG:
if (searchOn == null) {
exitCode = 255;
break;
\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\
\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\