Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
proview
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Esteban Blanc
proview
Commits
f9245e50
Commit
f9245e50
authored
Nov 17, 2005
by
claes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
-h added and usage updated
parent
00368d1d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
2 deletions
+14
-2
wb/exe/wb/src/wb.cpp
wb/exe/wb/src/wb.cpp
+14
-2
No files found.
wb/exe/wb/src/wb.cpp
View file @
f9245e50
/*
* Proview $Id: wb.cpp,v 1.1
8 2005-10-25 15:28:10
claes Exp $
* Proview $Id: wb.cpp,v 1.1
9 2005-11-17 09:07:21
claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB.
*
* This program is free software; you can redistribute it and/or
...
...
@@ -105,7 +105,16 @@ int pwr_time_to_exit( void *wttctx);
static
void
usage
()
{
printf
(
"
\n
Usage: wb [-a] [-l language] [username] [password] [volume]
\n
"
);
printf
(
"
\n
\
Usage: wb [-a][-q][-c][-p] [-l language] [username] [password] [volume]
\n
\
\n
\
-a Attach all databases.
\n
\
-q Quiet. Hide license information.
\n
\
-c Start class editor.
\n
\
-p Open project list.
\n
\
-l Language specification, sv_se or en_us.
\n
\
-h Display this help text.
\n
\
\n
"
);
}
void
wttlist_add
(
pwr_tStatus
*
sts
,
Wtt
*
wtt
,
pwr_tVid
vid
)
...
...
@@ -564,6 +573,9 @@ int main( int argc, char *argv[])
for
(
i
=
1
;
i
<
argc
;
i
++
)
{
if
(
argv
[
i
][
0
]
==
'-'
)
{
switch
(
argv
[
i
][
1
])
{
case
'h'
:
usage
();
exit
(
0
);
case
'a'
:
// Load all volumes
sw_projectvolume
=
0
;
...
...
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