-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathargc.1
39 lines (36 loc) · 930 Bytes
/
argc.1
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
29
30
31
32
33
34
35
36
37
38
39
.\" Manpage for argc
.TH ARGC 1 "April 2025" "argc 1.0" "User Commands"
.SH NAME
argc \- print the number of arguments passed
.SH SYNOPSIS
.B argc
.IR ARGUMENT ...
.SH DESCRIPTION
Prints the number of command-line arguments passed to the program in base 10, followed by a newline.
For example, running:
.B argc foo bar baz
will output:
.B 3
The program does not support
.BR --help
or
.BR --version
in order to avoid interfering with argument counting.
.SH AUTHOR
Written by Scover.
.SH REPORTING BUGS
Report issues at:
.BR https://github.com/5cover/argc
.SH LICENSE
This is free and unencumbered software released into the public domain.
.SH COLOPHON
argc was written not because it needed to be—but because it deserved to be.
.RS
.PP
Even the smallest tool deserves to be well-made.
.PP
Even the most basic function can be shared with pride.
.PP
Even three lines of C can teach someone
.B how real software is built
\&.