qmsk / e2

E2 Client, Tally output
Mozilla Public License 2.0
26 stars 7 forks source link

Ignore more than one destination #30

Closed dirkdamerau closed 6 years ago

dirkdamerau commented 6 years ago

Is there a way to add more than one destination to the --tally-ignore-dest=REGEXP command ? If I add a complete second argument :

--tally-ignore-dest=DEST1 --tally-ignore-dest=DEST2

only DEST2 is ignored. Dividing Destinations by "," or ";"

--tally-ignore-dest=DEST1,DEST2

does not work as well.

Best regards Dirk

SpComb commented 6 years ago

The --tally-ignore-dest only accepts one regexp, but you can use a single regexp that matches both values: --tally-ignore-dest='DEST1|DEST2'.

Note the use of quotes to prevent your shell from interpreting the |.