aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjozan <jozan@noemail.net>2020-11-14 20:41:46 +0000
committerjozan <jozan@noemail.net>2020-11-14 20:41:46 +0000
commite1ef4f457ca525be7176532db82369197a3149c4 (patch)
tree4a7c91b1b0bcb95cb48b58dfb89cd00f5cb5bf21
parentWorking on the man page (diff)
downloadunixize-e1ef4f457ca525be7176532db82369197a3149c4.tar.gz
unixize-e1ef4f457ca525be7176532db82369197a3149c4.tar.bz2
unixize-e1ef4f457ca525be7176532db82369197a3149c4.tar.xz
unixize-e1ef4f457ca525be7176532db82369197a3149c4.tar.zst
unixize-e1ef4f457ca525be7176532db82369197a3149c4.zip
Man in progress
FossilOrigin-Name: 632f4aea677b228d26ea6faaa6357e9740ecb14f54506a0073a28e353fd27b5f
-rw-r--r--man/unixize.128
-rw-r--r--src/c_opts.h2
2 files changed, 22 insertions, 8 deletions
diff --git a/man/unixize.1 b/man/unixize.1
index 096cfe8..ac1f51c 100644
--- a/man/unixize.1
+++ b/man/unixize.1
@@ -34,18 +34,32 @@
.\" (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
.\" LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
.\" ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-.\" SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-.\"
+.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
+.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+.\"
.\" unixize: man/unixize.1
.\" 2020-11-14 20:57
.\" date
.\" Joe
.\"
-.\" Manpage for unixize
+.\" Manpage for unixize.
.\" Contact rbousset@42lyon.fr to correct errors and typos.
.\"
-.TH unixize 1 "14 Nov 2020" "unixize 1.0" "Unixize Reference"
+.TH unixize 1 "14 November 2020" "unixize 1.0"
+.
.SH NAME
-.B unixize
-\-
+.B unixize
+\- bulk rename files to UNIX style
+.
+.SH SYNOPSIS
+.SY unixize
+.RB [ \-ahiknprRv ]
+[\c
+.BI \-e ext\c
+]
+.RI [ directory ]
+.YS
+.
+.SH DESCRIPTION
+.I unixize
+
diff --git a/src/c_opts.h b/src/c_opts.h
index a3f0cd8..029fcaa 100644
--- a/src/c_opts.h
+++ b/src/c_opts.h
@@ -51,7 +51,7 @@
#define C_OPTS "ahiknprRve:"
#define C_RECURSIVE_CHAR 'r'
#define C_USAGE_FMT \
- "usage: unixize [-ahiknprRv] [-e version] [directory]\n"
+ "usage: unixize [-ahiknprRv] [-e ext] [directory]\n"
#define C_C_OPT_FMT \
"unixize: unsupported -e value '%s' (must be always 0, 1 or 2)\n"