C
c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include <stdbool.h>
#define ARRAY_LEN(a) (sizeof(a) / sizeof(a[0]))
enum {
OPT_ALWAYS_ON_TOP,
OPT_AUDIO_BIT_RATE,
};
struct option {
char shortopt;
int longopt_id;
const char *longopt;
const char *argdesc;
bool optional_arg;
const char *text;
};
static const struct option options[] = {
{
.longopt_id = OPT_ALWAYS_ON_TOP,
.longopt = "always_on_top",
.text = "make app always on top",
},
Enter to Rename, Shift+Enter to Preview
OUTPUT
Run