Skip to content

Commit 6470bc0

Browse files
committed
Tidy up texts
1 parent 855b7df commit 6470bc0

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

src/main.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,8 @@ void print_help(char* programname, struct device* device_found, bool _show_all)
415415
// printf("Options:\n");
416416

417417
printf("Select device:\n");
418-
printf(" -d, --device INDEX\t\t\tSelects to which device send actions from 0 to N-1 (N = # of connected devices)\n");
418+
printf(" -d, --device INDEX|vendorid:productid\n");
419+
printf("\t\t\t\tSpecify either an index (0 to N-1) or a vendor ID and product ID separated by a colon.\n");
419420
printf("\n");
420421

421422
if (show_all || has_capability(device_found->capabilities, CAP_SIDETONE)) {

src/output.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -754,9 +754,9 @@ void output_standard(HeadsetControlStatus* status, HeadsetInfo* infos, bool prin
754754
for (int i = 0; i < status->device_count; i++) {
755755
HeadsetInfo* info = &infos[i];
756756
if (info->product_name != NULL && wcslen(info->product_name) > 0)
757-
printf("[%d]%s (%ls)\n", i, info->device_name, info->product_name);
757+
printf(" [%d] %s (%ls)\n", i, info->device_name, info->product_name);
758758
else
759-
printf("[%d]%s\n", i, info->device_name);
759+
printf(" [%d] %s\n", i, info->device_name);
760760

761761
if (print_capabilities) {
762762
printf("\tCapabilities:\n");

0 commit comments

Comments
 (0)