From f8b121b41b69f780a3e59c085430105a759dedd3 Mon Sep 17 00:00:00 2001 From: Nathan Sketch Date: Mon, 8 Mar 2021 10:22:13 +1300 Subject: Add man page The man page replicates what is now in the --help output. --- dragon.1 | 60 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 dragon.1 diff --git a/dragon.1 b/dragon.1 new file mode 100644 index 0000000..fbd03d8 --- /dev/null +++ b/dragon.1 @@ -0,0 +1,60 @@ +.TH DRAGON 1 +.SH NAME +dragon \- lightweight DnD source/target +.SH SYNOPSIS +.B dragon +.OP -x +.OP -t +.OP -k +.OP -p +.OP -a +.OP -i +.OP -T +.OP -v +FILENAME +.PP +.B dragon +.OP --help +.PP +.B dragon +.OP --version +.SH DESCRIPTION +.B dragon +is a source/sink for drag-and-drop operations. Many programs, particularly +web applications, expect files to be dragged into them now. If you don't +habitually use a file manager that is a problem. Dragon creates a small window +to drag out or drop files into, instead. +.SH OPTIONS +.TP +.B -x --and-exit +exit after a single completed drop. +.TP +.B -t --target +act as a target instead of source. +.TP +.B -k --keep +with --target, keep files to drag out. +.TP +.B -p --print-path +with --target, print file paths instead of URIs. +.TP +.B -a --all +drag all files at once. +.TP +.B -i --icon-only +only show icons in drag-and-drop windows. +.TP +.B -I --stdin +read filenames from stdin. +.TP +.B -T --on-top +make window always-on-top. +.TP +.B -v --verbose +be verbose. +.TP +.B --help +show help. +.TP +.B --version +show version details. -- cgit