diff options
author | digitalcraftsman <[email protected]> | 2016-03-24 23:34:12 +0100 |
---|---|---|
committer | digitalcraftsman <[email protected]> | 2016-03-24 23:34:12 +0100 |
commit | 7c81c86bdde7d1d56bf92ce0f6edd29822a2d0de (patch) | |
tree | 66c77b1da860512fd9aa967136e55f65ad9e6fa1 /commands/undraft.go | |
parent | 5d3705df16014c1404282234e30ef9d1c9be9c15 (diff) | |
download | hugo-7c81c86bdde7d1d56bf92ce0f6edd29822a2d0de.tar.gz hugo-7c81c86bdde7d1d56bf92ce0f6edd29822a2d0de.zip |
commands: Apply Golint rules
Diffstat (limited to 'commands/undraft.go')
-rw-r--r-- | commands/undraft.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/commands/undraft.go b/commands/undraft.go index c4bc2ffb0..c9f2b24d7 100644 --- a/commands/undraft.go +++ b/commands/undraft.go @@ -10,6 +10,7 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. + package commands import ( @@ -31,7 +32,7 @@ If the content's draft status is 'False', nothing is done.`, RunE: Undraft, } -// Publish publishes the specified content by setting its draft status +// Undraft publishes the specified content by setting its draft status // to false and setting its publish date to now. If the specified content is // not a draft, it will log an error. func Undraft(cmd *cobra.Command, args []string) error { |