diff options
-rw-r--r-- | raidgrep.1.asciidoc | 27 | ||||
-rw-r--r-- | src/main.rs | 15 |
2 files changed, 36 insertions, 6 deletions
diff --git a/raidgrep.1.asciidoc b/raidgrep.1.asciidoc index bad90f0..8068ce6 100644 --- a/raidgrep.1.asciidoc +++ b/raidgrep.1.asciidoc @@ -139,6 +139,28 @@ Those predicates can be used as-is in the filter: + Note that you have to quote the regex if it contains spaces or other special characters. +*-gamemode* 'MODE':: + Include logs in the given game modes. Modes are 'raid', 'fractal', 'strike', + 'golem' and 'wvw'. Multiple game modes can be separated by commas. + +*-raid*:: + Include logs that were in a raid (equivalent to *-gamemode raid*). + +*-fractal*:: + Include logs that were in a fractal (equivalent to *-gamemode fractal*). + +*-strike*:: + Include logs that were made in a strike mission (equivalent to *-gamemode + strike*). + +*-golem*:: + Include logs that were made at the training golem (equivalent to *-gamemode + golem*). + +*-wvw*:: + Include logs that were made in World-versus-World (equivalent to *-gamemode + wvw*). + *all(player:* 'PREDICATES' *)*:: Include logs in which all players match the given player predicates. See below for a list of player predicates. @@ -208,16 +230,17 @@ The following list is an inexhaustive list of all accepted boss names, with one name per boss given: * *Wing 1*: vg, gorseval, sabetha -* *Wing 2*: slothasor, matthias +* *Wing 2*: slothasor, trio, matthias * *Wing 3*: kc, xera * *Wing 4*: cairn, mo, samarog, deimos -* *Wing 5*: desmina, dhuum +* *Wing 5*: desmina, river, broken king, eater, eyes, dhuum * *Wing 6*: ca, largos, qadim * *Wing 7*: adina, sabir, qadimp * *100 CM*: ai * *99 CM*: skorvald, artsariiv, arkk * *98 CM*: mama, siax, ensolyss * *Strike Missions*: icebrood, fraenir, kodans, boneskinner, whisper +* *Training Golems*: standard golem, medium golem, large golem === Regular Expressions diff --git a/src/main.rs b/src/main.rs index 8bde143..365a400 100644 --- a/src/main.rs +++ b/src/main.rs @@ -61,16 +61,23 @@ const RETCODE_ERROR: i32 = 2; /// -after DATE Only include logs from after the given date. /// -boss BOSSES Only include logs from the given bosses. /// -cm Only include logs with challenge mote enabled. +/// -gamemode MODE Only include logs from the given game modes. +/// -raid Only include raid logs. +/// -fractal Only include fractal logs. +/// -strike Only include strike mission logs. +/// -golem Only include golem logs. +/// -wvw Only include WvW logs. /// -player REGEX Shorthand to check if any player in the log has the given name. /// -include Always evaluates to including the log. /// -exclude Always evaluates to excluding the log. /// /// BOSS NAMES: /// The following names can be used with the -boss filter: -/// vg, gorseval, sabetha, slothasor, matthias, kc, xera, cairn, -/// mo, samarog, deimos, desmina, dhuum, ca, largos, qadim, -/// adina, sabir, qadimp, ai, skorvald, artsariiv, arkk, mama, siax, -/// ensolyss, icebrood, fraenir, kodans, boneskinner, whisper. +/// vg, gorseval, sabetha, slothasor, trio, matthias, kc, xera, cairn, +/// mo, samarog, deimos, desmina, river, broken king, eater, eyes, +/// dhuum, ca, largos, qadim, adina, sabir, qadimp, ai, skorvald, +/// artsariiv, arkk, mama, siax, ensolyss, icebrood, fraenir, kodans, +/// boneskinner, whisper, standard golem, medium golem, large golem. /// Names can also be comma separated. #[derive(StructOpt, Debug)] #[structopt(verbatim_doc_comment)] |