Changeset 46e2152 in mainline for uspace/app/pcapctl/main.c


Ignore:
Timestamp:
2024-12-28T18:44:18Z (14 months ago)
Author:
Nataliia Korop <n.corop08@…>
Children:
503ce85
Parents:
caac052
Message:

pcapcat: typos, small fixes, pcapctl: comments, docs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/pcapctl/main.c

    rcaac052 r46e2152  
    115115        { "append", required_argument, 0, 'A' }, /* file as argument and ops 0 if not exist and 2 if exists */
    116116        { "new", required_argument, 0, 'N' }, /* file name as argument */
    117         { "truncated", required_argument, 0, 'T' }, // truncated ops
    118         { "usb", required_argument, 0, 'U' }, //??
     117        { "truncated", required_argument, 0, 'T' }, /* file as an argument with device 0 and dump truncated packets (for debugging purposes) */
     118        { "usb", required_argument, 0, 'U' }, /* todo: dump usb packets (not fully implemnted)*/
    119119        { "device", required_argument, 0, 'd' },
    120120        { "list", no_argument, 0, 'l' },
     
    148148            NAME " --list | -l \n"
    149149            "\tList of devices\n"
     150                NAME " --new= | -N <outfile>\n"
     151                "\tStart dumping with ops - 0, on device - 0\n"
     152                NAME " --append= | -A <outfile>\n"
     153                "\tContinue dumping on device - 0 to already existing file\n"
     154                NAME " --truncated= | -T <outfile>\n"
     155                "\tStart dumping truncated packets to file on device - 0\n"
    150156            NAME " --start | -r --device= | -d <device number from list> --outfile= | -o <outfile> --ops= | p <ops index>\n"
    151157            "\tPackets dumped from device will be written to <outfile>\n"
Note: See TracChangeset for help on using the changeset viewer.