From c836a898fc4ab45d159ebc00d1a407ce27144706 Mon Sep 17 00:00:00 2001 From: Azathoth Date: Fri, 29 Jul 2022 12:41:02 +0200 Subject: [PATCH] Wrote man page --- dice-roller.1 | 73 +++++++++++++++++---------------------------------- 1 file changed, 24 insertions(+), 49 deletions(-) diff --git a/dice-roller.1 b/dice-roller.1 index 5e20344..caac0f7 100644 --- a/dice-roller.1 +++ b/dice-roller.1 @@ -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