Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
go
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
go
Commits
633df67b
Commit
633df67b
authored
Mar 04, 2011
by
David Symonds
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gc, gopack: add some missing flags to the docs.
R=rsc, r CC=golang-dev
https://golang.org/cl/4260051
parent
4c30ca06
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
2 deletions
+6
-2
src/cmd/gc/doc.go
src/cmd/gc/doc.go
+2
-0
src/cmd/gopack/ar.c
src/cmd/gopack/ar.c
+1
-1
src/cmd/gopack/doc.go
src/cmd/gopack/doc.go
+3
-1
No files found.
src/cmd/gc/doc.go
View file @
633df67b
...
...
@@ -43,6 +43,8 @@ Flags:
disable optimization
-S
write assembly language text to standard output
-u
disallow importing packages not marked as safe
-V
print the compiler version
...
...
src/cmd/gopack/ar.c
View file @
633df67b
...
...
@@ -109,7 +109,7 @@ typedef struct Hashchain
/* constants and flags */
char
*
man
=
"mrxtdpq"
;
char
*
opt
=
"uvnbailoS"
;
char
*
opt
=
"uvnbailo
g
S"
;
char
artemp
[]
=
"/tmp/vXXXXX"
;
char
movtemp
[]
=
"/tmp/v1XXXXX"
;
char
tailtemp
[]
=
"/tmp/v2XXXXX"
;
...
...
src/cmd/gopack/doc.go
View file @
633df67b
...
...
@@ -12,10 +12,12 @@ It adds a special Go-specific section __.PKGDEF that collects all the
Go type information from the files in the archive; that section is
used by the compiler when importing the package during compilation.
Usage: gopack [uvnbailo][mrxtdpq] archive files ...
Usage: gopack [uvnbailo
gS
][mrxtdpq] archive files ...
The new option 'g' causes gopack to maintain the __.PKGDEF section
as files are added to the archive.
The new option 'S' forces gopack to mark the archive as safe.
*/
package
documentation
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment