-
-
Notifications
You must be signed in to change notification settings - Fork 570
Command line arguments
GyulyVGC edited this page Dec 14, 2024
·
1 revision
Command line arguments are parameters that can be passed to a program when it is executed, to customize its behavior.
Even if users of the application are encouraged to open Sniffnet simply by clicking on its icon, it's also possible to launch it from the terminal: this way, arguments can be passed to the application, which can be useful in some circumstances.
Sniffnet supports the following command line arguments:
Short form | Long form | Description |
---|---|---|
-a [<NAME>] |
--adapter [<NAME>] |
Start sniffing packets from the named network adapter. If no name is provided, the default adapter is used. |
-l |
--logs |
Show the logs (stdout and stderr) of the most recent application run. Only available on Windows. |
-r |
--restore-default |
Restore the default settings of the application. |
-h |
--help |
Print command line usage. |
-v |
--version |
Print the version of the application. |