forked from osmocom/wireshark
Clean up the "available XXX type" messages a bit.
svn path=/trunk/; revision=28793
This commit is contained in:
parent
85c8e31574
commit
7595bc232a
|
@ -631,7 +631,7 @@ static void
|
||||||
list_capture_types(void) {
|
list_capture_types(void) {
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
fprintf(stderr, "editcap: The available capture file types for \"F\":\n");
|
fprintf(stderr, "editcap: The available capture file types for the \"-F\" flag are:\n");
|
||||||
for (i = 0; i < WTAP_NUM_FILE_TYPES; i++) {
|
for (i = 0; i < WTAP_NUM_FILE_TYPES; i++) {
|
||||||
if (wtap_dump_can_open(i))
|
if (wtap_dump_can_open(i))
|
||||||
fprintf(stderr, " %s - %s\n",
|
fprintf(stderr, " %s - %s\n",
|
||||||
|
@ -644,7 +644,7 @@ list_encap_types(void) {
|
||||||
int i;
|
int i;
|
||||||
const char *string;
|
const char *string;
|
||||||
|
|
||||||
fprintf(stderr, "editcap: The available encapsulation types for \"T\":\n");
|
fprintf(stderr, "editcap: The available encapsulation types for the \"-T\" flag are:\n");
|
||||||
for (i = 0; i < WTAP_NUM_ENCAP_TYPES; i++) {
|
for (i = 0; i < WTAP_NUM_ENCAP_TYPES; i++) {
|
||||||
string = wtap_encap_short_string(i);
|
string = wtap_encap_short_string(i);
|
||||||
if (string != NULL)
|
if (string != NULL)
|
||||||
|
|
Loading…
Reference in New Issue