Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Add keywords in macro examples
  • Loading branch information
MarcMush authored Oct 2, 2023
1 parent e1a4231 commit 5b3bd1d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ This works for functions that process things in loops or with `map`/`pmap`/`redu
using Distributed
using ProgressMeter

@showprogress 1 "Computing..." for i in 1:50
@showprogress dt=1 desc="Computing..." for i in 1:50
sleep(0.1)
end

Expand Down Expand Up @@ -52,7 +52,7 @@ using ProgressMeter
sleep(0.1)
end

result = @showprogress 1 "Computing..." @distributed (+) for i in 1:10
result = @showprogress desc="Computing..." @distributed (+) for i in 1:10
sleep(0.1)
i^2
end
Expand Down

0 comments on commit 5b3bd1d

Please sign in to comment.