Convert size \d+[KMGT] opts in parse_options.sh.

This commit is contained in:
Daniel Nichter
2012-01-26 10:44:55 -07:00
parent 73bc7cdcf8
commit 81caf6addc
3 changed files with 85 additions and 1 deletions

View File

@@ -0,0 +1,37 @@
#!/usr/bin/env bash
:
# ############################################################################
# Documentation
# ############################################################################
:<<'DOCUMENTATION'
=pod
=head1 NAME
pt-stalk - Wait for a condition to occur then begin collecting data.
=head1 OPTIONS
=over
=item --disk-bytes-free
type: size; default: 100M
Fall apart if there's less than this many bytes free on the disk.
=item --help
Print help.
=back
=head1 ENVIRONMENT
No env vars used.
=cut
DOCUMENTATION