Skip to content

Commit

Permalink
update docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
pfitzseb committed May 15, 2018
1 parent a1cc3d7 commit a1325dd
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/progress.jl
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,10 @@ difference between registering a progress bar and the latest update.
right_text(p, s) = isactive() && Atom.Progress.right_text(p, s)

"""
@progress [name] for i = ...
@progress [name="", threshold=0.005] for i = ...
Show a progress metre for the given loop if possible.
Show a progress meter named `name` for the given loop if possible. Update frequency
is limited by `threshold` (one update per 0.5% of progress by default).
"""
macro progress(args...)
_progress(args...)
Expand Down

0 comments on commit a1325dd

Please sign in to comment.