Opened 12 years ago

Closed 10 months ago

#505 closed defect (wontfix)

mixminion flush: option -n not recognized

Reported by: tcr Owned by:
Priority: Low Milestone:
Component: Mixminion-Client Version: unspeficied
Severity: Normal Keywords:
Cc: tcr Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description (last modified by arma)

minor issue: with "mixminion flush" the short name "-n <n>" does
not seem to work instead of "--count=<n>".


$ mixminion flush -n 1
Mixminion version 0.0.8alpha3
This software is for testing purposes only. Anonymity is not guaranteed.
option -n not recognized
Usage: mixminion flush [options] [servername] ...

-h, --help Print this usage message and exit.
-v, --verbose Display extra debugging messages.
-f <file>, --config=<file> Use a configuration file other than ~/.mixminionrc

(You can also use MIXMINIONRC=FILE)

-n <n>, --count=<n> Send no more than <n> packets from the queue.


Try to send all currently queued packets.

mixminion flush

Try to send at most 10 currently queued packets, chosen at random.

mixminion flush -n 10

Try to send all currently queued packets for the server named 'Example1', or
for the server whose hostname is ''.

mixminion flush Example1

$ mixminion flush --count=1
Mixminion version 0.0.8alpha3
This software is for testing purposes only. Anonymity is not guaranteed.
Sep 18 10:20:49.455 +0200 [INFO] Flushing packet queue
Sep 18 10:20:49.502 +0200 [INFO] Found 1 pending packets
Sep 18 10:20:49.588 +0200 [INFO] Sending 1 packets to server at [...]...
Sep 18 10:20:49.590 +0200 [INFO] Connecting...
Sep 18 10:20:50.032 +0200 [INFO] ... 1 sent
Sep 18 10:20:50.633 +0200 [INFO] Queue flushed


BTW: there's no option to report for version 0.0.8alpha3

[Automatically added by flyspray2trac: Operating System: Linux]

Child Tickets

Change History (3)

comment:1 Changed 12 years ago by tcr

Fixed it. Does anybody want to give me a pointer to best-practice for
producing patches? I'm not yet sure about which filenames to use...

--- 2007-09-18 10:51:42.000000000 +0200
+++ 2007-09-18 11:00:06.000000000 +0200
@@ -1940,7 +1940,7 @@


def flushQueue(cmd, args):

  • options, args = getOptions(args, "", count=?, argsOK=1)

+ options, args = getOptions(args, "n:", ["count="], argsOK=1)

for o,v in options:

if o in ('-n','--count'):

comment:2 Changed 22 months ago by teor

Severity: Normal

Set all open tickets without a severity to "Normal"

comment:3 Changed 10 months ago by arma

Description: modified (diff)
Resolution: Nonewontfix
Status: newclosed

mixminion is dead; long live mixminion

Note: See TracTickets for help on using tickets.