]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/blob - db/quit.c
xfsprogs: Release v6.10.1
[thirdparty/xfsprogs-dev.git] / db / quit.c
1 // SPDX-License-Identifier: GPL-2.0
2 /*
3 * Copyright (c) 2000-2001,2005 Silicon Graphics, Inc.
4 * All Rights Reserved.
5 */
6
7 #include "libxfs.h"
8 #include "command.h"
9 #include "quit.h"
10
11 static int quit_f(int argc, char **argv);
12
13 static const cmdinfo_t quit_cmd =
14 { "quit", "q", quit_f, 0, 0, 0, NULL,
15 N_("exit xfs_db"), NULL };
16
17 static int
18 quit_f(
19 int argc,
20 char **argv)
21 {
22 return 1;
23 }
24
25 void
26 quit_init(void)
27 {
28 add_command(&quit_cmd);
29 }