mirror of
https://gitlab.com/EternalWanderer/dice-roller.git
synced 2024-11-28 21:03:51 +01:00
Wrote man page
This commit is contained in:
parent
0810a69103
commit
c836a898fc
|
@ -2,62 +2,37 @@
|
|||
.SH NAME
|
||||
dice-roller \- Dice roller utility written in GO
|
||||
.SH SYNOPSIS
|
||||
.B dragon
|
||||
.OP -surfaces
|
||||
.OP -throws
|
||||
.OP -modifier
|
||||
.OP -attacks
|
||||
.OP -advantage
|
||||
.OP -disatvantage
|
||||
.B dice-roller
|
||||
.OP -a
|
||||
.OP -s
|
||||
.OP -c
|
||||
.OP -m
|
||||
.PP
|
||||
.B dragon
|
||||
.OP --help
|
||||
.B dice-roller
|
||||
.OP --advantage
|
||||
.PP
|
||||
.B dragon
|
||||
.OP --version
|
||||
.B dice-roller
|
||||
.OP --disadvantage
|
||||
.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.
|
||||
.B dice-roller
|
||||
is a little dice roller I wrote because I'm hopelessly bad at basic arithmetic equations.
|
||||
Written with D&D 5e in mind, can undoubtedly be used for other purposes as well.
|
||||
.SH OPTIONS
|
||||
.TP
|
||||
.B -x --and-exit
|
||||
exit after a single completed drop.
|
||||
.B -a --attacks
|
||||
Roll a set rules multiple times, does not apply to advantage and disadvantage, defaults to 1.
|
||||
.TP
|
||||
.B -t --target
|
||||
act as a target instead of source.
|
||||
.B -s --surfaces
|
||||
Use to specify die surfaces, does not apply to advantage and disadvantage, defaults to 20.
|
||||
.TP
|
||||
.B -k --keep
|
||||
with --target, keep files to drag out.
|
||||
.B -c --throws
|
||||
Specify amount of dice to cast
|
||||
.TP
|
||||
.B -p --print-path
|
||||
with --target, print file paths instead of URIs.
|
||||
.B -m --modifier
|
||||
Add modifier to result of rolls
|
||||
.TP
|
||||
.B -a --all
|
||||
drag all files at once.
|
||||
.B --advantage
|
||||
Roll two 2d20 and take the highest number, accepts modifiers
|
||||
.TP
|
||||
.B -A --all-compact
|
||||
drag all files at once, only displaying the number of files.
|
||||
.TP
|
||||
.B -i --icon-only
|
||||
only show icons in drag-and-drop windows.
|
||||
.TP
|
||||
.B -T --on-top
|
||||
make window always-on-top.
|
||||
.TP
|
||||
.B -I --stdin
|
||||
read filenames from stdin.
|
||||
.TP
|
||||
.B -s --thumb-size
|
||||
set thumbnail size (default 96)
|
||||
.TP
|
||||
.B -v --verbose
|
||||
be verbose.
|
||||
.TP
|
||||
.B --help
|
||||
show help.
|
||||
.TP
|
||||
.B --version
|
||||
show version details.
|
||||
.B --disadvantage
|
||||
Roll two 2d20 and take the lowest number, accepts modifiers
|
||||
|
|
Loading…
Reference in a new issue