Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
mincss
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Taddeüs Kroes
mincss
Commits
0ca0aa97
Commit
0ca0aa97
authored
9 years ago
by
Taddeüs Kroes
Browse files
Options
Downloads
Patches
Plain Diff
Small command line usage string update + add item to todo list
parent
472940f2
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
README.md
+2
-0
2 additions, 0 deletions
README.md
main.ml
+4
-3
4 additions, 3 deletions
main.ml
with
6 additions
and
3 deletions
README.md
+
2
−
0
View file @
0ca0aa97
...
...
@@ -120,3 +120,5 @@ TODO / bugs
generating the shortest possible representation of the resulting box model.
-
`border:none`
could be
`border:0`
, or in general any shorthand that has both
a
`style`
and
`width`
property should be transformed from
`none`
into
`0`
.
-
`padding: 0 !important`
is expanded to 4 directions because of the
`!important`
This diff is collapsed.
Click to expand it.
main.ml
+
4
−
3
View file @
0ca0aa97
...
...
@@ -24,7 +24,7 @@ let parse_args () =
-o <file> Output file (defaults to stdout)
\n
\
<file> ... Input files (default is to read from stdin)
\n
\
\n
\
Optimization flags (
if none are specified, all are enable
d):
\n
\
Optimization flags (
default is -w -c -s -
d):
\n
\
-w, --whitespace Eliminate unnecessary whitespaces (has the greatest \
effect, omit for pretty-printing)
\n
\
-c, --simple Shorten colors, font weights and nth-child
\n
\
...
...
@@ -32,10 +32,11 @@ let parse_args () =
-d, --duplicates Prune duplicate properties (WARNING: may affect \
cross-browser hacks)
\n
\
-p, --pretty Shorthand for -c -s -d
\n
\
-e, --echo Just parse and pretty-print, no optimizations
\n
\
\n
\
Formatting options:
\n
\
-r, --sort Sort declarations in each selector group
\n
\
-r, --sort Sort declarations in each ruleset (always on when \
--shorthands is enabled)
\n
\
-e, --echo Just parse and pretty-print, no optimizations
\n
\
"
in
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment