Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1126 | savelij | 1 | /* SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only */ |
2 | |||
3 | #include "version.c" /* that is *no* error */ |
||
4 | |||
5 | #include <string.h> |
||
6 | |||
7 | int main(int argc, char **argv) |
||
8 | { |
||
9 | if (argc != 2) |
||
10 | return 1; |
||
11 | |||
12 | if (!strcmp(argv[1], "-v")) |
||
13 | puts(DebVersion); |
||
14 | else if (!strcmp(argv[1], "-a")) |
||
15 | puts(ARCHPRNAME); |
||
16 | else |
||
17 | return 1; |
||
18 | |||
19 | return 0; |
||
20 | } |