Skip to content

Commit

Permalink
Fix Documentation for apt.
Browse files Browse the repository at this point in the history
  • Loading branch information
tongson committed Oct 3, 2016
1 parent 4e92b98 commit 72439e3
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/lua/module/apt.lua
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ end
-- @Subject package
-- @Aliases installed
-- @Aliases install
-- @param only_upgrade
-- @param update_cache
-- @param update_cache Run `apt-get update` before any operation [DEFAULT: false]
-- @param no_upgrade Prevent upgrade of specified package if already installed [DEFAULT: false]
-- @usage apt.present("strace")
-- update: "yes"
-- update_cache: true
function apt.present(S)
M.parameters = {
"update_cache", "no_upgrade"
Expand Down Expand Up @@ -71,8 +71,6 @@ end
-- @Subject package
-- @Aliases removed
-- @Aliases remove
-- @param purge
-- @param autoremove
-- @usage apt.absent("strace")!
function apt.absent(S)
M.report = {
Expand Down

0 comments on commit 72439e3

Please sign in to comment.